lix/src
Eelco Dolstra 12f9379123 Add 'path' fetcher
This fetchers copies a plain directory (i.e. not a Git/Mercurial
repository) to the store (or does nothing if the path is already a
store path).

One use case is to pin the 'nixpkgs' flake used to build the current
NixOS system, and prevent it from being garbage-collected, via a
system registry entry like this:

  {
      "from": {
          "id": "nixpkgs",
          "type": "indirect"
      },
      "to": {
          "type": "path",
          "path": "/nix/store/rralhl3wj4rdwzjn16g7d93mibvlr521-source",
          "lastModified": 1585388205,
          "rev": "b0c285807d6a9f1b7562ec417c24fa1a30ecc31a"
      },
      "exact": true
  }

Note the fake "lastModified" and "rev" attributes that ensure that the
flake gives the same evaluation results as the corresponding
Git/GitHub inputs.
2020-04-02 14:56:20 +02:00
..
build-remote Remove global -I flags 2020-03-30 15:30:19 +02:00
cpptoml bump cpptoml to v0.1.1 2019-05-29 17:01:39 +08:00
libexpr nix flake info --json: Show TreeInfo 2020-04-02 11:51:34 +02:00
libfetchers Add 'path' fetcher 2020-04-02 14:56:20 +02:00
libmain Remove global -I flags 2020-03-30 15:30:19 +02:00
libstore Merge remote-tracking branch 'origin/master' into flakes 2020-04-01 00:03:50 +02:00
libutil Backport 'nix dev-shell' from the flakes branch 2020-03-30 19:16:45 +02:00
nix nix flake info --json: Show TreeInfo 2020-04-02 11:51:34 +02:00
nix-build Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-channel Remove global -I flags 2020-03-30 15:30:19 +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 14:39:33 +02:00
nix-daemon Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-env nix-env: Refuse to operate on a new-style profile 2020-04-02 11:54:48 +02:00
nix-instantiate Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-prefetch-url Remove global -I flags 2020-03-30 15:30:19 +02:00
nix-store Remove global -I flags 2020-03-30 15:30:19 +02:00
resolve-system-dependencies Fix macOS build 2020-03-30 17:00:40 +02:00