diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-19T23·26+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-19T23·26+0000 |
commit | aab530e9712baf802bcb48f03440a915dbc37ee9 (patch) | |
tree | 0a9d25b811dc91caabe2545c3e38c7ca0cc85bda /src/libstore/globals.hh | |
parent | 60564410ef34db8fd3c9be759bdc687366f24e8e (diff) |
* Primop builtins.storePath for declaring a store path as a
dependency. `storePath /nix/store/bla' gives exactly the same result as `toPath /nix/store/bla', except that the former includes /nix/store/bla in the dependency context of the string. Useful in some generated Nix expressions like nix-push, which now finally does the right thing wrt distributed builds. (Previously the path to be packed wasn't an explicit dependency, so it wouldn't be copied to the remote machine.)
Diffstat (limited to 'src/libstore/globals.hh')
0 files changed, 0 insertions, 0 deletions