Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-30 | * When using the build hook, distinguish between the stderr of the | Eelco Dolstra | 1 | -1/+6 | |
hook script proper, and the stdout/stderr of the builder. Only the latter should be saved in /nix/var/log/nix/drvs. * Allow the verbosity to be set through an option. * Added a flag --quiet to lower the verbosity level. | |||||
2010-08-11 | * nix-build: recognise --cores. | Eelco Dolstra | 1 | -1/+1 | |
2009-12-09 | * nix-build: be less verbose. | Eelco Dolstra | 1 | -1/+8 | |
2009-07-15 | * nix-build: pass the --show-trace flag. | Eelco Dolstra | 1 | -0/+4 | |
2009-06-10 | * nix-build: if nix-instantiate or nix-store fails due to a signal | Eelco Dolstra | 1 | -2/+8 | |
(e.g. out of memory or a segfault), print an error message. Otherwise the user doesn't see anything. | |||||
2009-03-18 | * Clean up some tests (use nix-build where appropriate). | Eelco Dolstra | 1 | -1/+8 | |
2009-02-27 | * nix-build: support --option. | Eelco Dolstra | 1 | -0/+7 | |
2009-01-13 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2008-11-20 | * Urgh. | Eelco Dolstra | 1 | -2/+4 | |
2008-08-04 | * nix-build: `--dry-run' flag. | Eelco Dolstra | 1 | -0/+9 | |
2007-11-15 | * nix-build: pass --argstr to nix-instantiate. | Eelco Dolstra | 1 | -3/+3 | |
2007-06-11 | * Check against creation of GC roots in the store. Those roots don't | Eelco Dolstra | 1 | -2/+2 | |
work, because findRoots() stops when it encounters a symlink to the store. And of course the store is supposed to be read-only. | |||||
2006-12-08 | * Kill a build if it has gone for more than a certain number of | Eelco Dolstra | 1 | -0/+6 | |
seconds without producing output on stdout or stderr (NIX-65). This timeout can be specified using the `--max-silent-time' option or the `build-max-silent-time' configuration setting. The default is infinity (0). * Fix a tricky race condition: if we kill the build user before the child has done its setuid() to the build user uid, then it won't be killed, and we'll potentially lock up in pid.wait(). So also send a conventional kill to the child. | |||||
2006-10-31 | * Oops, `nix-build --no-out-link' was broken. | Eelco Dolstra | 1 | -1/+1 | |
2006-10-19 | * nix-build: check the exit status of `nix-store -r'. | Eelco Dolstra | 1 | -4/+6 | |
2006-08-04 | * Use old-school pipe opens; the new style is Perl >= 5.8.0. | Eelco Dolstra | 1 | -2/+3 | |
2006-08-01 | * Better error checking. | Eelco Dolstra | 1 | -2/+2 | |
2006-07-28 | * `nix-instantiate ... --arg NAME VALUE': allow arguments to be passed | Eelco Dolstra | 1 | -2/+10 | |
to functions from the command line. * nix-build: started removing backticks. | |||||
2006-03-14 | * Allow the resulting symlink of nix-build to be named, e.g., | Eelco Dolstra | 1 | -9/+31 | |
$ nix-build .../i686-linux.nix -A apacheHttpd -o apache | |||||
2006-03-03 | * More online help. | Eelco Dolstra | 1 | -1/+15 | |
2006-03-03 | * Rewrote nix-build in Perl, since sh is just too limited (turns out | Eelco Dolstra | 1 | -78/+87 | |
that arrays are a bash extension, so it didn't work on FreeBSD). Also fixes NIX-8 (readlink(1) dependency). | |||||
2006-02-10 | * Enable the --attr in nix-build as well (and add -A as an alias). | Eelco Dolstra | 1 | -6/+15 | |
Example: $ nix-build ./all-packages.nix -A xlibs.libX11 So finally it's easy to perform a test build of a Nix expression! | |||||
2005-07-13 | * nix-build: default to `./default.nix' if no paths are specified. | Eelco Dolstra | 1 | -28/+38 | |
So when using Nix as a build tool, you can just say `nix-build' and it will build the top-level derivation defined in `default.nix'. | |||||
2005-02-01 | * Remove debug code. | Eelco Dolstra | 1 | -2/+2 | |
2005-02-01 | * nix-build: use an indirection scheme to make it easier for users to | Eelco Dolstra | 1 | -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' to | Eelco Dolstra | 1 | -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 Dolstra | 1 | -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 Dolstra | 1 | -2/+2 | |
2004-12-20 | * Place manifests in /nix/var/nix/manifests. | Eelco Dolstra | 1 | -0/+0 | |
* Use the new patch downloader. | |||||
2004-10-31 | * Fix `File exists' errors if the `result' symlink exists but is | Eelco Dolstra | 1 | -5/+4 | |
dangling. | |||||
2004-08-18 | * Flag `--no-link' suppresses symlinking to the output path. | Eelco Dolstra | 1 | -11/+19 | |
* Handle multiple derivations correctly. | |||||
2004-07-28 | * Nix-build places a symlink `result' in the current directory to the | Eelco Dolstra | 1 | -1/+10 | |
store object just built. | |||||
2004-06-22 | * Nix-instantiate can return multiple store expressions. | Eelco Dolstra | 1 | -1/+3 | |
2004-06-22 | * A utility script `nix-build' that builds Nix expressions and prints | Eelco Dolstra | 1 | -0/+23 | |
their output paths (and only that) on standard output. |