Skip to content

Commit

Permalink
nix-channels: Garbage collect before updating
Browse files Browse the repository at this point in the history
  • Loading branch information
dramforever committed Jun 25, 2022
1 parent 8558ba5 commit d16a34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ def garbage_collect():
logging.info(f' - {deleted_nar} nar files unreachable')

if __name__ == '__main__':
garbage_collect()
channels = clone_channels()
update_channels(channels)
garbage_collect()
if failure:
sys.exit(1)

0 comments on commit d16a34e

Please sign in to comment.