summary refs log tree commit diff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-01 12:07:31 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-01 12:07:31 +0000
commit7974aae81ced67b2aee0b537a37d813f6c67a1ec (patch)
treea3b48ffca70701f967d43e1e25d3cf6772754311 /src/libmain
parentde90fdf908f2504e1a89a5d4660552cbcc1a15d5 (diff)
downloadguix-7974aae81ced67b2aee0b537a37d813f6c67a1ec.tar.gz
* 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