Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-12 | * Indented strings. | Eelco Dolstra | |
2010-04-12 | * Don't use ATerms for the abstract syntax trees anymore. Not | Eelco Dolstra | |
finished yet. | |||
2010-04-08 | * Remove a lot of dead code. | Eelco Dolstra | |
2010-04-07 | * Update autoCallFunction() and findAlongAttrPath(). | Eelco Dolstra | |
2010-04-07 | * expr-to-xml -> value-to-xml. | Eelco Dolstra | |
2010-04-07 | * Implemented the primops necessary for generating the NixOS manual. | Eelco Dolstra | |
2010-03-31 | * Implemented derivations. | Eelco Dolstra | |
2010-03-31 | Make source location info in the XML output optional. | Ludovic Courtès | |
* 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. | |||
2010-03-30 | * More operators / primops. | Eelco Dolstra | |
2010-03-30 | * More primops. | Eelco Dolstra | |
2010-03-29 | * Started integrating the new evaluator. | Eelco Dolstra | |
2010-03-02 | * When using the included sqlite/aterm libraries, build with | Eelco Dolstra | |
--enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene. | |||
2010-02-24 | * `helpText' is now zero-terminated. | Eelco Dolstra | |
2010-02-24 | * ADDITIONAL_NETWORK_LIBS -> LIBS. | Eelco Dolstra | |
2010-02-24 | * Add ${sqlite_lib} everywhere. Just adding it in `libstore' doesn't | Eelco Dolstra | |
work on x86_64 when sqlite is compiled statically. | |||
2009-11-06 | * Remove support for old (before Nix 0.12pre12020) databases. | Eelco Dolstra | |
2009-10-08 | Added optional parameter which adds -lnsl -lsocket to make the Nix package ↵ | Sander van der Burg | |
manager work on OpenSolaris | |||
2007-01-14 | * Option --argstr for passing string arguments easily. (NIX-75) | Eelco Dolstra | |
2007-01-13 | * Allow multiple --attr / -A arguments in nix-build / nix-instantiate | Eelco Dolstra | |
(NIX-74). | |||
2007-01-13 | * Canonicalise ASTs in `nix-instantiate --eval': remove position | Eelco Dolstra | |
info, sort attribute sets. | |||
2006-12-07 | * Doh! | Eelco Dolstra | |
2006-12-07 | * Rename all those main.cc files. | Eelco Dolstra | |
2006-12-05 | * Allow unprivileged users to run the garbage collector and to do | Eelco Dolstra | |
`nix-store --delete'. But unprivileged users are not allowed to ignore liveness. * `nix-store --delete --ignore-liveness': ignore the runtime roots as well. | |||
2006-11-30 | * Put building in the store API. | Eelco Dolstra | |
2006-11-30 | * Refactoring. There is now an abstract interface class StoreAPI | Eelco Dolstra | |
containing functions that operate on the Nix store. One implementation is LocalStore, which operates on the Nix store directly. The next step, to enable secure multi-user Nix, is to create a different implementation RemoteStore that talks to a privileged daemon process that uses LocalStore to perform the actual operations. | |||
2006-10-16 | * Big cleanup of the semantics of paths, strings, contexts, string | Eelco Dolstra | |
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'.) | |||
2006-10-03 | * toXML: propagate the context to allow derivations to be used in the | Eelco Dolstra | |
argument. | |||
2006-09-08 | * Remove debug message. | Eelco Dolstra | |
2006-09-04 | * Use a proper namespace. | Eelco Dolstra | |
* Optimise header file usage a bit. * Compile the parser as C++. | |||
2006-08-24 | * Refactoring. | Eelco Dolstra | |
2006-08-24 | * Strict evaluation and XML printing of lists. | Eelco Dolstra | |
2006-08-24 | * Refactoring: move strictEval to libexpr. | Eelco Dolstra | |
2006-08-23 | * Pass the autoArgs to findAlongAttrPath so that "nix-instantiate | Eelco Dolstra | |
foo.nix -A attr --arg name value" will work if (name, value) is needed in the evaluation leading up to "attr". | |||
2006-08-17 | * Print attributes in sorted order, rather than the arbitrary order | Eelco Dolstra | |
produced by ATermMap. Necessary for testing. * `--strict' should also work on stdin. | |||
2006-08-16 | * More XML output. `--strict' to strictly evaluate attribute sets and | Eelco Dolstra | |
so on. * Removed `--print-args', it's subsumed by `--eval-only --xml'. | |||
2006-08-16 | * `nix-instantiate --{eval|parse}-only --xml': print an XML | Eelco Dolstra | |
representation instead of an ATerm. * Indent XML output. | |||
2006-08-14 | * Put the value in an attribute. | Eelco Dolstra | |
2006-08-03 | * `nix-instantiate --print-args': produce XML output so that the | Eelco Dolstra | |
result can be used more easily by scripts. | |||
2006-07-28 | * `nix-instantiate ... --arg NAME VALUE': allow arguments to be passed | Eelco Dolstra | |
to functions from the command line. * nix-build: started removing backticks. | |||
2006-07-28 | * `nix-instantiate --print-args': print out the valid values for | Eelco Dolstra | |
functions arguments that have a domain. | |||
2006-07-26 | * Refactoring: get the selection path stuff out of getDerivations() | Eelco Dolstra | |
and put it into a separate function findAlongAttrPath(). | |||
2006-07-25 | * `nix-instantiate --print-args' prints out the arguments of a | Eelco Dolstra | |
top-level function. | |||
2006-05-12 | * Support for srcdir != builddir (NIX-41). | Eelco Dolstra | |
2006-03-06 | * Regularise help text a bit. | Eelco Dolstra | |
2006-02-10 | * Enable the --attr in nix-build as well (and add -A as an alias). | Eelco Dolstra | |
Example: $ nix-build ./all-packages.nix -A xlibs.libX11 So finally it's easy to perform a test build of a Nix expression! | |||
2006-02-10 | * In nix-instantiate, allow us to specify a "path" to the | Eelco Dolstra | |
derivation(s) we're interested, e.g., $ nix-instantiate ./all-packages.nix --attr xlibs.libX11 List elements can also be selected: $ nix-instantiate ./build-for-release.nix --attr 0.subversion This allows a non-ambiguous specification of a derivation. Of course, this should also be added to nix-env and nix-build. | |||
2006-02-10 | * Make --parse-only work when *not* reading from stdin. | Eelco Dolstra | |
2006-02-10 | * Cleanup: use the code shared with nix-env. | Eelco Dolstra | |
2005-07-22 | * Build dynamic libraries. | Eelco Dolstra | |
2005-07-12 | * In nix-instantiate, at top-level, call functions that have arguments | Eelco Dolstra | |
with default values automatically. I.e., e -> e {}. This feature makes convenience expressions such as pkgs/system/i686-linux.nix in Nixpkgs obsolete, since we can just do $ nix-instantiate ./pkgs/system/all-packages.nix since all-packages.nix takes a single argument (system) that has a default value (__thisSystem). |