lix/src
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
..
build-remote Remove global -I flags 2020-03-30 15:30:19 +02:00
cpptoml
error-demo comments 2020-04-08 09:56:10 -06:00
libexpr nix flake init: Add a '--template' flag 2020-06-04 20:22:25 +02:00
libfetchers add support for selfhosted gitlab/github 2020-06-04 14:42:39 +02:00
libmain Simplify 2020-05-10 21:50:32 +02:00
libstore Merge remote-tracking branch 'origin/master' into flakes 2020-06-03 16:15:22 +02:00
libutil Merge remote-tracking branch 'origin/master' into flakes 2020-06-04 13:16:28 +02:00
nix nix flake init: Add a '--template' flag 2020-06-04 20:22:25 +02:00
nix-build Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-channel after flake rebase 2020-04-08 22:26:57 +02:00
nix-collect-garbage Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-copy-closure Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-daemon Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-env Tweak warning message 2020-04-28 17:56:01 +02:00
nix-instantiate Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-prefetch-url Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod 2020-05-26 11:14:08 -04:00
nix-store Merge remote-tracking branch 'upstream/master' into enum-FileIngestionMethod 2020-03-30 18:16:44 -04:00
resolve-system-dependencies Fix macOS build 2020-03-30 17:00:40 +02:00