1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* toFile: added an additional argument to specify the store path

suffix, e.g., `builtins.toFile "builder.sh" "..."'.
* toFile: handle references to other files correctly.
This commit is contained in:
Eelco Dolstra 2006-10-03 14:55:54 +00:00
parent 84e6c43e85
commit d20c3011a0
4 changed files with 41 additions and 5 deletions

View file

@ -1,7 +1,7 @@
let {
# Test inline source file definitions.
builder = builtins.toFile "
builder = builtins.toFile "builder.sh" "
mkdir $out
cat > $out/program <<EOF