tvl-depot/scripts
Eelco Dolstra dcc37c236c * nix-store, nix-instantiate: added an option `--add-root' to
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.
2005-02-01 12:36:25 +00:00
..
download-using-manifests.pl.in * Really fix the substitute mechanism, i.e., ensure the closure 2005-01-25 17:08:52 +00:00
generate-patches.pl.in * Get rid of hardcoded paths. 2005-02-01 09:54:56 +00:00
Makefile.am * Place manifests in /nix/var/nix/manifests. 2004-12-20 16:38:50 +00:00
nix-build.in * nix-store, nix-instantiate: added an option `--add-root' to 2005-02-01 12:36:25 +00:00
nix-channel.in * Place manifests in /nix/var/nix/manifests. 2004-12-20 16:38:50 +00:00
nix-collect-garbage.in * Start of concurrent garbage collection. Processes write temporary 2005-01-31 10:27:25 +00:00
nix-install-package.in * Switched from wget to curl. 2004-04-06 08:18:51 +00:00
nix-prefetch-url.in * Really fix the substitute mechanism, i.e., ensure the closure 2005-01-25 17:08:52 +00:00
nix-profile.sh.in * Improvements to profiles. Generations are now per-profile, e.g., 2004-02-06 10:30:20 +00:00
nix-pull.in * Really fix the substitute mechanism, i.e., ensure the closure 2005-01-25 17:08:52 +00:00
nix-push.in * Really fix the substitute mechanism, i.e., ensure the closure 2005-01-25 17:08:52 +00:00
optimise-store.pl * Prototype store optimiser. It searched the Nix store for identical 2005-01-05 09:58:12 +00:00
prebuilts.conf * Doh! Edited readmanifest.pm' instead of readmanifest.pm.in'. 2004-01-16 14:54:39 +00:00
readmanifest.pm.in * Really fix the substitute mechanism, i.e., ensure the closure 2005-01-25 17:08:52 +00:00
remove-patches.pl * Script to remove patches from manifests. 2005-01-12 10:40:59 +00:00
update-manifest.pl * A small utility to add the Size and NarHash fields to old manifests. 2004-12-28 21:12:00 +00:00