lix/src/libexpr
Eelco Dolstra 7480f4f9a4
builtins.fetchgit: Support specifying commit hashes
This adds an argument "rev" specififying the Git commit hash. The
existing argument "rev" is renamed to "ref". The default value for
"ref" is "master". When specifying a hash, it's necessary to specify a
ref since we're not cloning the entire repository but only fetching a
specific ref.

Example usage:

  builtins.fetchgit {
    url = https://github.com/NixOS/nixpkgs.git;
    ref = "release-16.03";
    rev = "c1c0484041ab6f9c6858c8ade80a8477c9ae4442";
  };
2017-07-27 18:08:23 +02:00
..
primops builtins.fetchgit: Support specifying commit hashes 2017-07-27 18:08:23 +02:00
attr-path.cc Optimize small lists 2015-07-23 22:05:09 +02:00
attr-path.hh
attr-set.cc Optimize empty sets 2015-07-23 23:11:08 +02:00
attr-set.hh Bindings: Add a method for iterating in lexicographically sorted order 2017-01-26 20:40:33 +01:00
common-opts.cc Enable HTTP/2 support 2016-09-14 16:36:02 +02:00
common-opts.hh StoreAPI -> Store 2016-02-04 14:48:42 +01:00
eval-inline.hh Restore thunks on any exception 2017-06-20 12:13:17 +02:00
eval.cc Replace a few bool flags with enums 2017-07-03 11:38:08 +02:00
eval.hh nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
get-drvs.cc nix-shell: Use bashInteractive from <nixpkgs> 2017-07-20 13:50:25 +02:00
get-drvs.hh nix-shell: Use bashInteractive from <nixpkgs> 2017-07-20 13:50:25 +02:00
json-to-value.cc Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
json-to-value.hh
lexer.l lexer: remove catch-all rules hiding real errors 2017-05-01 01:18:06 +02:00
local.mk Shut up some warnings 2017-04-14 14:42:20 +02:00
names.cc replace own regex class with std::regex 2016-10-18 20:22:25 +02:00
names.hh replace own regex class with std::regex 2016-10-18 20:22:25 +02:00
nix-expr.pc.in
nixexpr.cc First hit at providing support for floats in the language. 2016-01-05 00:40:40 +01:00
nixexpr.hh Throw a specific error for incomplete parse errors. 2016-02-24 04:32:21 -06:00
parser.y nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
primops.cc Merge pull request #1428 from rimmington/clearer-regex-space-error 2017-07-10 11:45:05 +02:00
primops.hh Make primop registration pluggable 2016-04-14 12:50:01 +02:00
symbol-table.hh Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
value-to-json.cc nix path-info: Add --json flag 2016-08-29 17:29:24 +02:00
value-to-json.hh nix path-info: Add --json flag 2016-08-29 17:29:24 +02:00
value-to-xml.cc First hit at providing support for floats in the language. 2016-01-05 00:40:40 +01:00
value-to-xml.hh
value.hh Restructure installables handling in the "nix" command 2017-04-25 11:20:37 +02:00