An open API service indexing awesome lists of open source software.

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

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.