Skip to content

Commit 08f02d3

Browse files
committed
0.1.14
1 parent c85b0b3 commit 08f02d3

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "wooper-dev"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
description = "A nix thing"
55
readme = "README.md"
66
requires-python = ">=3.14"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎wooper_dev/updater.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def main() -> None:
8686
rev = metadata["locked"]["rev"]
8787
hash = metadata["locked"]["narHash"]
8888
date = metadata["locked"]["lastModified"]
89+
store_path = metadata["path"]
8990

9091
cursor.execute(
9192
"""
@@ -124,6 +125,13 @@ def main() -> None:
124125
)
125126
conn.commit()
126127

128+
# Clean up the fetched nixpkgs store path
129+
subprocess.run(
130+
["nix", "--extra-experimental-features", "nix-command", "store", "delete", store_path],
131+
capture_output=True,
132+
check=False,
133+
)
134+
127135
cursor.close()
128136
conn.close()
129137

0 commit comments

Comments
 (0)