about summary refs log tree commit diff
path: root/doc/manual/nix-prefetch-url.xml
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 /doc/manual/nix-prefetch-url.xml
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 'doc/manual/nix-prefetch-url.xml')
0 files changed, 0 insertions, 0 deletions