Given a directory, this command will delete all symlinks that point to the /nix/store
and garbage collect the associated objects in the store. This is useful after using nix-build
to manually clean up the built artifacts. Otherwise you will leak objects into the /nix/store
requiring a complicated garbage collecting operation. Run this before running nix-build
again.
-
Notifications
You must be signed in to change notification settings - Fork 0
Garbage Collects nix-build Symlinks
License
MatrixAI/nix-build-gc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Garbage Collects nix-build Symlinks
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published