lix/src/libstore
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
..
binary-cache-store.cc FSAccessor: Throw InvalidPath 2016-08-10 18:05:35 +02:00
binary-cache-store.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
build.cc Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
builtins.cc <nix/fetchurl.nix>: Use tarballs.nixos.org 2016-06-01 17:11:51 +02:00
builtins.hh Make <nix/fetchurl.nix> a builtin builder 2015-07-20 04:38:46 +02:00
crypto.cc Use secret-key-files for verifying 2016-04-07 15:16:57 +02:00
crypto.hh Add "nix verify-paths" command 2016-03-29 16:37:16 +02:00
derivations.cc Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
derivations.hh Add a mechanism for derivation attributes to reference the derivation's outputs 2016-08-17 17:19:32 +02:00
download.cc builtins.fetch{url,tarball}: Allow name attribute 2016-08-15 07:37:11 -04:00
download.hh builtins.fetch{url,tarball}: Allow name attribute 2016-08-15 07:37:11 -04:00
export-import.cc Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
fs-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
gc.cc find-runtime-roots: fold into gc.cc 2016-07-21 07:04:41 -04:00
globals.cc Remove $NIX_DB_DIR 2016-08-10 18:05:35 +02:00
globals.hh Remove $NIX_DB_DIR 2016-08-10 18:05:35 +02:00
http-binary-cache-store.cc HttpBinaryCacheStore: Retry on transient HTTP errors 2016-08-10 18:08:23 +02:00
local-binary-cache-store.cc HttpBinaryCacheStore: Fix caching of WantMassQuery 2016-06-01 16:24:17 +02:00
local-fs-store.cc FSAccessor: Throw InvalidPath 2016-08-10 18:05:35 +02:00
local-store.cc SQLite:: Add some convenience 2016-08-10 18:05:35 +02:00
local-store.hh Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
local.mk Make the aws-cpp-sdk dependency optional 2016-05-04 17:16:48 +02:00
misc.cc Store::queryMissing(): Use a thread pool 2016-07-21 17:50:39 +02:00
nar-accessor.cc NarAccessor: Fix handling of non-executable files 2016-08-10 18:05:35 +02:00
nar-accessor.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
nar-info-disk-cache.cc SQLite:: Add some convenience 2016-08-10 18:05:35 +02:00
nar-info-disk-cache.hh HttpBinaryCacheStore: Fix caching of WantMassQuery 2016-06-01 16:24:17 +02:00
nar-info.cc Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
nar-info.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc LocalStore: Allow the physical and logical store directories to differ 2016-06-02 16:02:48 +02:00
pathlocks.cc Modernize AutoCloseFD 2016-07-11 15:44:44 -04:00
pathlocks.hh Support sandbox builds by non-root users 2016-06-03 15:59:28 +02:00
profiles.cc Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
profiles.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
references.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
remote-store.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
s3-binary-cache-store.cc HttpBinaryCacheStore: Fix caching of WantMassQuery 2016-06-01 16:24:17 +02:00
s3-binary-cache-store.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
sandbox-defaults.sb.in Revert "remove sandbox-defaults.sb" 2015-11-21 16:40:24 -05:00
schema.sql Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
sqlite.cc SQLite:: Add some convenience 2016-08-10 18:05:35 +02:00
sqlite.hh SQLite:: Add some convenience 2016-08-10 18:05:35 +02:00
store-api.cc Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
store-api.hh Mark content-addressed paths in the Nix database and in .narinfo 2016-08-10 18:05:35 +02:00
worker-protocol.hh Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00