lix/src/libexpr
Eelco Dolstra 1969f357b7
Add fetchMercurial primop
E.g.

  $ nix eval '(fetchMercurial https://www.mercurial-scm.org/repo/hello)'
  { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "82e55d328c8ca4ee16520036c0aaace03a5beb65"; revCount = 1; shortRev = "82e55d328c8c"; }

  $ nix eval '(fetchMercurial { url = https://www.mercurial-scm.org/repo/hello; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; })'
  { branch = "default"; outPath = "/nix/store/alvb9y1kfz42bjishqmyy3pphnrh1pfa-source"; rev = "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"; revCount = 0; shortRev = "0a04b987be5a"; }

  $ nix eval '(fetchMercurial /tmp/unclean-hg-tree)'
  { branch = "default"; outPath = "/nix/store/cm750cdw1x8wfpm3jq7mz09r30l9r024-source"; rev = "0000000000000000000000000000000000000000"; revCount = 0; shortRev = "000000000000"; }
2017-11-01 17:45:32 +01:00
..
primops Add fetchMercurial primop 2017-11-01 17:45:32 +01:00
attr-path.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
attr-path.hh Work on Values instead of Exprs 2013-09-03 13:17:51 +00:00
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-eval-args.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
common-eval-args.hh nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
eval-inline.hh Restore thunks on any exception 2017-06-20 12:13:17 +02:00
eval.cc Add option allowed-uris 2017-10-30 12:41:49 +01:00
eval.hh Add option allowed-uris 2017-10-30 12:41:49 +01:00
get-drvs.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
get-drvs.hh nix-shell: Use bashInteractive from <nixpkgs> 2017-07-20 13:50:25 +02:00
json-to-value.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
json-to-value.hh Add builtin function ‘fromJSON’ 2014-07-04 13:34:15 +02:00
lexer.l Don't parse "x:x" as a URI 2017-10-30 17:58:01 +01: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 Install some pkgconfig files 2014-09-18 12:00:40 +02:00
nixexpr.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nixexpr.hh Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
parser.y builtins.fetchgit: Support importing a working tree 2017-10-30 19:59:25 +01:00
primops.cc Fix filterSource 2017-10-31 16:18:32 +01: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 Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh Restructure installables handling in the "nix" command 2017-04-25 11:20:37 +02:00