https://github.com/matrixai/nix-build-gc
Garbage Collects nix-build Symlinks
https://github.com/matrixai/nix-build-gc
Last synced: about 1 year ago
JSON representation
Garbage Collects nix-build Symlinks
- Host: GitHub
- URL: https://github.com/matrixai/nix-build-gc
- Owner: MatrixAI
- License: apache-2.0
- Created: 2019-04-09T02:34:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T05:38:44.000Z (over 6 years ago)
- Last Synced: 2025-01-24T06:29:44.650Z (over 1 year ago)
- Language: Nix
- Homepage: https://matrix.ai
- Size: 9.77 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nix-build-gc
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.