about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-01T12·07+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-01T12·07+0000
commit7974aae81ced67b2aee0b537a37d813f6c67a1ec (patch)
treea3b48ffca70701f967d43e1e25d3cf6772754311 /src/libstore/globals.cc
parentde90fdf908f2504e1a89a5d4660552cbcc1a15d5 (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/libstore/globals.cc')
0 files changed, 0 insertions, 0 deletions