- Nov 18, 2013
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jul 18, 2012
-
-
Eelco Dolstra authored
-
- Oct 04, 2010
-
-
Eelco Dolstra authored
because it defines _FILE_OFFSET_BITS. Without this, on OpenSolaris the system headers define it to be 32, and then the 32-bit stat() ends up being called with a 64-bit "struct stat", or vice versa. This also ensures that we get 64-bit file sizes everywhere. * Remove the redundant call to stat() in parseExprFromFile(). The file cannot be a symlink because that's the exit condition of the loop before.
-
- Apr 07, 2010
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Mar 31, 2010
-
-
Ludovic Courtès authored
* 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.
-
- Mar 02, 2010
-
-
Eelco Dolstra authored
--enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene.
-
- Oct 16, 2006
-
-
Eelco Dolstra authored
concatenation and string coercion. This was a big mess (see e.g. NIX-67). Contexts are now folded into strings, so that they don't cause evaluation errors when they're not expected. The semantics of paths has been clarified (see nixexpr-ast.def). toString() and coerceToString() have been merged. Semantic change: paths are now copied to the store when they're in a concatenation (and in most other situations - that's the formalisation of the meaning of a path). So "foo " + ./bla evaluates to "foo /nix/store/hash...-bla", not "foo /path/to/current-dir/bla". This prevents accidental impurities, and is more consistent with the treatment of derivation outputs, e.g., `"foo " + bla' where `bla' is a derivation. (Here `bla' would be replaced by the output path of `bla'.)
-
- Oct 03, 2006
-
-
Eelco Dolstra authored
argument.
-
- Sep 04, 2006
-
-
Eelco Dolstra authored
* Optimise header file usage a bit. * Compile the parser as C++.
-
- Aug 24, 2006
-
-
Eelco Dolstra authored
-