forked from lix-project/lix
![]() immediately add the result as a permanent GC root. This is the only way to prevent a race with the garbage collector. For instance, the old style ln -s $(nix-store -r $(nix-instantiate foo.nix)) \ /nix/var/nix/gcroots/result has two time windows in which the garbage collector can interfere (by GC'ing the derivation and the output, respectively). On the other hand, nix-store --add-root /nix/var/nix/gcroots/result -r \ $(nix-instantiate --add-root /nix/var/nix/gcroots/drv \ foo.nix) is safe. * nix-build: use `--add-root' to prevent GC races. |
||
---|---|---|
.. | ||
download-using-manifests.pl.in | ||
generate-patches.pl.in | ||
Makefile.am | ||
nix-build.in | ||
nix-channel.in | ||
nix-collect-garbage.in | ||
nix-install-package.in | ||
nix-prefetch-url.in | ||
nix-profile.sh.in | ||
nix-pull.in | ||
nix-push.in | ||
optimise-store.pl | ||
prebuilts.conf | ||
readmanifest.pm.in | ||
remove-patches.pl | ||
update-manifest.pl |