lix/src
Eelco Dolstra 22d6e31fc6 Add a mechanism for derivation attributes to reference the derivation's outputs
For example, you can now say:

  configureFlags = "--prefix=${placeholder "out"} --includedir=${placeholder "dev"}";

The strings returned by the ‘placeholder’ builtin are replaced at
build time by the actual store paths corresponding to the specified
outputs.

Previously, you had to work around the inability to self-reference by doing stuff like:

  preConfigure = ''
    configureFlags+=" --prefix $out --includedir=$dev"
  '';

or rely on ad-hoc variable interpolation semantics in Autoconf or Make
(e.g. --prefix=\$(out)), which doesn't always work.
2016-08-17 17:19:32 +02:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
buildenv buildenv: perl -> c++ 2016-08-11 07:58:33 -04:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
libmain Remove $NIX_DB_DIR 2016-08-10 18:05:35 +02:00
libstore Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
libutil Fix assertion failure 2016-07-21 18:39:32 +02:00
nix Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
nix-collect-garbage Eliminate reserveSpace flag 2016-02-24 17:44:55 +01:00
nix-daemon Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
nix-env Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url makeFixedOutputPath(): Drop superfluous HashType argument 2016-07-26 21:25:52 +02:00
nix-store Add a "root" parameter to local stores 2016-08-10 18:05:35 +02:00