about summary refs log tree commit diff
path: root/src/libexpr/get-drvs.cc
AgeCommit message (Collapse)AuthorFilesLines
2006-10-16 * Big cleanup of the semantics of paths, strings, contexts, stringEelco Dolstra1-8/+12
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-09-04 * Use a proper namespace.Eelco Dolstra1-1/+8
* Optimise header file usage a bit. * Compile the parser as C++.
2006-07-28 * `nix-instantiate ... --arg NAME VALUE': allow arguments to be passedEelco Dolstra1-6/+7
to functions from the command line. * nix-build: started removing backticks.
2006-07-26 * Refactoring: get the selection path stuff out of getDerivations()Eelco Dolstra1-98/+33
and put it into a separate function findAlongAttrPath().
2006-07-25 * `nix-instantiate --print-args' prints out the arguments of aEelco Dolstra1-3/+3
top-level function.
2006-07-25 * Applied rbroek's patch from the branch atEelco Dolstra1-15/+29
https://svn.cs.uu.nl:12443/repos/trace/buildfarm-control/trunk/ext/nix/, with some modifications. This allows `nix-env -qa' to show the attribute path that can be used to unambiguously install a package using `nix-env -i -A'. Example: $ nix-env -f top-level/all-packages.nix -qaA subversion xorg-server subversionWithJava subversion-1.2.3 subversion subversion-1.3.2 subversion14 subversion-1.4.0pre-rc1 xorg.xorgserver xorg-server-1.1.0
2006-07-24 * Refactoring to support domain checks.Eelco Dolstra1-4/+3
2006-07-19 * Better error messages (especially wrt types).Eelco Dolstra1-4/+4
2006-05-30 * Don't use badTerm, it gives awful error messages.Eelco Dolstra1-1/+2
2006-05-04 * Use the new ATermMap.Eelco Dolstra1-21/+21
2006-05-02 * Huge reduction in memory use (2/3 or so on large nix-env -qasEelco Dolstra1-8/+8
operations): share ATermMaps between DrvInfos.
2006-05-02 * Some preliminaries towards NIX-45.Eelco Dolstra1-1/+1
2006-05-01 * Allow string concatenations involving derivations, e.g.,Eelco Dolstra1-0/+4
configureFlags = "--with-freetype2-library=" + freetype + "/lib";
2006-03-23 * In `nix-env', look for derivations inside attribute sets that haveEelco Dolstra1-1/+15
the `recurseForDerivations' attribute set to `true'.
2006-03-10 * `nix-env -qa --description' shows human-readable descriptions ofEelco Dolstra1-0/+43
packages (provided that they have a `meta.description' attribute). E.g., $ ./src/nix-env/nix-env -qa --description gcc gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for sparc-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for mips-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for arm-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x
2006-03-09 * Regression: semantics of the result of getDerivation() changed.Eelco Dolstra1-2/+2
2006-03-08 * When obtaining derivations from Nix expressions, ignore allEelco Dolstra1-34/+50
expressions that cause an assertion failure (like `assert system == "i686-linux"'). This allows all-packages.nix in Nixpkgs to be used on all platforms, even if some Nix expressions don't work on all platforms. Not sure if this is a good idea; it's a bit hacky. In particular, due to laziness some derivations might appear in `nix-env -qa' but disappear in `nix-env -qas' or `nix-env -i'. Commit 5000!
2006-02-10 * In nix-instantiate, allow us to specify a "path" to theEelco Dolstra1-26/+74
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-08 * When querying all derivations, filter out syntactically equal derivations.Eelco Dolstra1-12/+36
2006-02-08 * When evaluating, automatically call functions with default arguments.Eelco Dolstra1-4/+23
2006-02-08 * Refactoring: move derivation evaluation to libexpr.Eelco Dolstra1-0/+67