diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-01 12:07:31 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-01 12:07:31 +0000 |
commit | 7974aae81ced67b2aee0b537a37d813f6c67a1ec (patch) | |
tree | a3b48ffca70701f967d43e1e25d3cf6772754311 /src/libmain | |
parent | de90fdf908f2504e1a89a5d4660552cbcc1a15d5 (diff) |
* New primop: builtins.toFile, which writes a string into the store
and returns its path. This can be used to (for instance) write
builders inside a Nix expression, e.g.,
stdenv.mkDerivation {
builder = "
source $stdenv/setup
...
";
...
}
Diffstat (limited to 'src/libmain')
0 files changed, 0 insertions, 0 deletions