lix/src/libexpr
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
..
primops Support Git repos in the Nix path 2016-04-29 21:07:47 +02:00
attr-path.cc Optimize small lists 2015-07-23 22:05:09 +02:00
attr-path.hh Work on Values instead of Exprs 2013-09-03 13:17:51 +00:00
attr-set.cc Optimize empty sets 2015-07-23 23:11:08 +02:00
attr-set.hh Move attribute set data structures into their own header file. 2015-07-14 19:23:17 +02:00
common-opts.cc Add an HTTP binary cache store 2016-02-29 18:15:20 +01:00
common-opts.hh StoreAPI -> Store 2016-02-04 14:48:42 +01:00
eval-inline.hh isFunctor: Simplify 2015-10-08 13:22:11 +02:00
eval.cc Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
eval.hh Make the search path lazier with non-fatal errors 2016-04-14 15:32:24 +02:00
get-drvs.cc Improved logging abstraction 2016-04-25 19:18:45 +02:00
get-drvs.hh nix-env: respect meta.outputsToInstall 2016-02-23 14:19:14 +01:00
json-to-value.cc Fix broken number parsing in fromJSON 2016-02-15 15:01:26 +01:00
json-to-value.hh Add builtin function ‘fromJSON’ 2014-07-04 13:34:15 +02:00
lexer.l Throw a specific error for incomplete parse errors. 2016-02-24 04:32:21 -06:00
local.mk Make primop registration pluggable 2016-04-14 12:50:01 +02:00
names.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
names.hh Don't recompile the same regex over and over 2014-10-03 21:29:40 +02:00
nix-expr.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
nixexpr.cc First hit at providing support for floats in the language. 2016-01-05 00:40:40 +01:00
nixexpr.hh Throw a specific error for incomplete parse errors. 2016-02-24 04:32:21 -06:00
parser.y Support Git repos in the Nix path 2016-04-29 21:07:47 +02:00
primops.cc Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
primops.hh Make primop registration pluggable 2016-04-14 12:50:01 +02:00
symbol-table.hh Improve printing of ASTs 2014-10-20 09:13:21 +02:00
value-to-json.cc First hit at providing support for floats in the language. 2016-01-05 00:40:40 +01:00
value-to-json.hh JSONObject: Support floats and booleans 2016-02-19 14:24:04 +01:00
value-to-xml.cc First hit at providing support for floats in the language. 2016-01-05 00:40:40 +01:00
value-to-xml.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh @eelco's feedback: downgrade to regular float for size, remove unused function. 2016-01-06 08:25:58 +01:00