about summary refs log tree commit diff
path: root/scripts/nix-build.in
AgeCommit message (Collapse)AuthorFilesLines
2005-02-01 * Remove debug code.Eelco Dolstra1-2/+2
2005-02-01 * nix-build: use an indirection scheme to make it easier for users toEelco Dolstra1-17/+28
get rid of GC roots. Nix-build places a symlink `result' in the current directory. Previously, removing that symlink would not remove the store path being linked to as a GC root. Now, the GC root created by nix-build is actually a symlink in `/nix/var/nix/gcroots/auto' to `result'. So if that symlink is removed the GC root automatically becomes invalid (since it can no longer be resolved). The root itself is not automatically removed - the garbage collector should delete dangling roots.
2005-02-01 * nix-store, nix-instantiate: added an option `--add-root' toEelco Dolstra1-2/+9
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-01-27 * Fix and simplify the garbage collector (it's still not concurrent,Eelco Dolstra1-1/+1
though). In particular it's now much easier to register a GC root. Just place a symlink to whatever store path it is that you want to keep in /nix/var/nix/gcroots.
2005-01-14 * Use absolute paths.Eelco Dolstra1-2/+2
2004-12-20 * Place manifests in /nix/var/nix/manifests.Eelco Dolstra1-0/+0
* Use the new patch downloader.
2004-10-31 * Fix `File exists' errors if the `result' symlink exists but isEelco Dolstra1-5/+4
dangling.
2004-08-18 * Flag `--no-link' suppresses symlinking to the output path.Eelco Dolstra1-11/+19
* Handle multiple derivations correctly.
2004-07-28 * Nix-build places a symlink `result' in the current directory to theEelco Dolstra1-1/+10
store object just built.
2004-06-22 * Nix-instantiate can return multiple store expressions.Eelco Dolstra1-1/+3
2004-06-22 * A utility script `nix-build' that builds Nix expressions and printsEelco Dolstra1-0/+23
their output paths (and only that) on standard output.