remove unused nar files
This commit is contained in:
parent
dda1d4a7d2
commit
a0bc7b5c80
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,8 @@ async def main() -> None:
|
|||
realisation["outPath"]):
|
||||
print(f"Found unused realisation for {realisation['outPath']}")
|
||||
await delete_object(obj_key)
|
||||
if obj_key.startswith("nar/"):
|
||||
nars_to_delete.add(obj_key)
|
||||
for nar in nars_to_delete:
|
||||
if nar in nars_to_keep:
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue