about summary refs log tree commit diff
path: root/src/nix-instantiate/help.txt (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-03-31 Make source location info in the XML output optional.Ludovic Courtès1-0/+2
* src/libexpr/expr-to-xml.cc (nix::showAttrs): Add `location' parameter. Provide location XML attributes when it's true. Update callers. (nix::printTermAsXML): Likewise. * src/libexpr/expr-to-xml.hh (nix::printTermAsXML): Update prototype; have `location' default to `false'. * src/nix-instantiate/nix-instantiate.cc (printResult, processExpr): Add `location' parameter; update callers. (run): Add support for `--no-location'. * src/nix-instantiate/help.txt: Update accordingly. * tests/lang.sh: Invoke `nix-instantiate' with `--no-location' for the XML tests. * tests/lang/eval-okay-toxml.exp, tests/lang/eval-okay-to-xml.nix: New files.
2006-08-16 * More XML output. `--strict' to strictly evaluate attribute sets andEelco Dolstra1-0/+9
so on. * Removed `--print-args', it's subsumed by `--eval-only --xml'.
2006-07-25 * `nix-instantiate --print-args' prints out the arguments of aEelco Dolstra1-0/+2
top-level function.
2006-03-06 * Regularise help text a bit.Eelco Dolstra1-1/+1
2005-02-01 * nix-store, nix-instantiate: added an option `--add-root' toEelco Dolstra1-1/+3
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.
2004-11-12 * Document --eval-only and --parse-only options in nix-instantiate.Eelco Dolstra1-2/+3
2003-12-01 * Help text for all (non-script) programs, so no more:Eelco Dolstra1-0/+15
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)