]> git.scottworley.com Git - nix-pin-deps/summary
 
descriptionGC-anchor a Nix build's dependencies
last changeWed, 23 Oct 2024 03:56:42 +0000 (20:56 -0700)
readme

nix-pin-deps: GC-anchor a Nix build’s dependencies

When a Nix build fails for lack of disk space and a nix-collect-garbage is needed to make disk space available, nix-collect-garbage will unhelpfully delete the successfully-built dependencies of the derivation that failed because they are are not yet gc-anchored, because the build failed.

This tool solves this problem:

nix-pin-deps /nix/store/...-foo.drv foo-deps

will create gc-anchors in foo-deps/ for all of the dependencies of foo.drv that exist in the nix store, keeping partial build progress safe from nix-collect-garbage.

shortlog
2024-10-23 Scott WorleyRelease 1.1.0 master v1.1.0
2024-10-23 Scott Worleynix show-derivation → nix derivation show
2024-10-23 Scott WorleyStart keeping a changelog
2023-07-22 Scott WorleyAdapt to nixpkgs' nativeCheckInputs change
2022-11-24 Scott WorleySpecify license
2022-05-20 Scott WorleyREADME: Explain what this is for v1.0.0
2022-05-20 Scott WorleyBuild stuff
2022-05-20 Scott Worley__main__ thing
2022-05-20 Scott WorleyAppease pylint
2022-05-20 Scott Worleymypy types
2022-05-20 Scott WorleyStart
tags
2 months ago v1.1.0
2 years ago v1.0.0
heads
2 months ago master