lix/src/libexpr
Eelco Dolstra 810b2c6a48 nix flake init: Add a '--template' flag
The initial contents of the flake is specified by the
'templates.<name>' or 'defaultTemplate' output of another flake. E.g.

  outputs = { self }: {

    templates = {

      nixos-container = {
        path = ./nixos-container;
        description = "An example of a NixOS container";
      };

    };

  };

allows

  $ nix flake init -t templates#nixos-container

Also add a command 'nix flake new', which is identical to 'nix flake
init' except that it initializes a specified directory rather than the
current directory.
2020-06-04 20:22:25 +02:00
..
flake fetchOrSubstituteTree improvements 2020-06-01 02:57:22 -06:00
primops Move substitution into Input::fetch() 2020-05-30 01:16:53 +02:00
attr-path.cc Get rid of the old eval cache 2020-04-20 13:13:52 +02:00
attr-path.hh Get rid of the old eval cache 2020-04-20 13:13:52 +02:00
attr-set.cc
attr-set.hh
common-eval-args.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
common-eval-args.hh
eval-cache.cc nix flake init: Add a '--template' flag 2020-06-04 20:22:25 +02:00
eval-cache.hh nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
eval-inline.hh pass Pos to forceValue to improve infinite recursion error 2020-04-16 12:32:07 +02:00
eval.cc Merge remote-tracking branch 'origin/master' into flakes 2020-06-03 16:15:22 +02:00
eval.hh nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
function-trace.cc
function-trace.hh
get-drvs.cc nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
get-drvs.hh
imported-drv-to-derivation.nix
json-to-value.cc JSONSax: Use a RootValue 2020-04-16 17:30:18 +02:00
json-to-value.hh
lexer.l
local.mk Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
names.cc
names.hh
nix-expr.pc.in
nixexpr.cc
nixexpr.hh Attach pos to if expression errors 2020-04-09 09:45:15 +02:00
parser.y Remove TreeInfo 2020-05-30 00:44:11 +02:00
primops.cc Merge remote-tracking branch 'origin/master' into flakes 2020-06-03 16:15:22 +02:00
primops.hh Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
symbol-table.hh nix flake show: Use evaluation cache 2020-04-17 01:02:29 +02:00
value-to-json.cc
value-to-json.hh
value-to-xml.cc
value-to-xml.hh
value.hh Merge remote-tracking branch 'origin/master' into flakes 2020-04-16 18:33:10 +02:00