tvl-depot/src/libexpr
Eelco Dolstra 000b5a000f Add fetchTarball builtin
This function downloads and unpacks the given URL at evaluation
time. This is primarily intended to make it easier to deal with Nix
expressions that have external dependencies. For instance, to fetch
Nixpkgs 14.12:

  with import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz) {};

Or to fetch a specific revision:

  with import (fetchTarball 2766a4b44e.tar.gz) {};

This patch also adds a ‘fetchurl’ builtin that downloads but doesn't
unpack its argument. Not sure if it's useful though.
2015-03-25 17:29:09 +01:00
..
attr-path.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
attr-path.hh Work on Values instead of Exprs 2013-09-03 13:17:51 +00:00
common-opts.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
common-opts.hh Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
eval-inline.hh forceAttrs: Show position info 2014-04-04 19:11:40 +02:00
eval.cc addToStore(): Take explicit name argument 2015-03-25 17:06:12 +01:00
eval.hh Fix Boehm API violation 2015-03-19 20:02:37 +01:00
get-drvs.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
get-drvs.hh Drop pointless #include 2014-03-29 22:20:33 +01:00
json-to-value.cc Store Attrs inside Bindings 2014-09-19 16:49:41 +02:00
json-to-value.hh Add builtin function ‘fromJSON’ 2014-07-04 13:34:15 +02:00
lexer.l Allow the leading component of a path to be a ~ 2015-02-19 08:05:16 -05:00
local.mk Add fetchTarball builtin 2015-03-25 17:29:09 +01:00
names.cc Don't recompile the same regex over and over 2014-10-03 21:29:40 +02:00
names.hh Don't recompile the same regex over and over 2014-10-03 21:29:40 +02:00
nix-expr.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
nixexpr.cc Improve error message 2015-03-06 14:24:08 +01:00
nixexpr.hh Add restricted evaluation mode 2015-02-23 15:54:31 +01:00
parser.y Add restricted evaluation mode 2015-02-23 15:54:31 +01:00
primops.cc Add fetchTarball builtin 2015-03-25 17:29:09 +01:00
symbol-table.hh Improve printing of ASTs 2014-10-20 09:13:21 +02:00
value-to-json.cc Make all ExternalValueBase functions const 2014-12-02 10:27:10 -05:00
value-to-json.hh Support control characters in JSON output 2014-09-30 00:41:18 +02:00
value-to-xml.cc Make all ExternalValueBase functions const 2014-12-02 10:27:10 -05:00
value-to-xml.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh Make all ExternalValueBase functions const 2014-12-02 10:27:10 -05:00