lix/src
Eelco Dolstra 6dbd5c26e6
Make flake input fetching lazy
As long as the flake input is locked, it is now only fetched when it
is evaluated (e.g. "nixpkgs" is fetched when
"inputs.nixpkgs.<something>" is evaluated).

This required adding an "id" attribute to the members of "inputs" in
lockfiles, e.g.

  "inputs": {
    "nixpkgs/release-19.03": {
      "id": "nixpkgs",
      "inputs": {},
      "narHash": "sha256-eYtxncIMFVmOHaHBtTdPGcs/AnJqKqA6tHCm0UmPYQU=",
      "nonFlakeInputs": {},
      "uri": "github:edolstra/nixpkgs/e9d5882bb861dc48f8d46960e7c820efdbe8f9c1"
    }
  }

because the flake ID needs to be known beforehand to construct the
"inputs" attrset.

Fixes #2913.
2019-06-04 19:17:03 +02:00
..
build-remote canBuildLocally: check for features 2019-03-06 05:03:25 +00:00
cpptoml bump cpptoml to v0.1.1 2019-05-29 17:01:39 +08:00
libexpr Make flake input fetching lazy 2019-06-04 19:17:03 +02:00
libmain pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
libstore Merge remote-tracking branch 'origin/master' into flakes 2019-06-03 09:22:19 +02:00
libutil Get last commit time of github flakes 2019-05-29 10:10:40 +02:00
nix Make flake input fetching lazy 2019-06-04 19:17:03 +02:00
nix-build Merge remote-tracking branch 'origin/master' into flakes 2019-05-08 14:30:27 +02:00
nix-channel Refactor downloadCached() interface 2019-05-22 23:36:29 +02:00
nix-collect-garbage Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-copy-closure Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-daemon findRoots(): Don't censor for trusted users 2019-03-14 13:53:34 +01:00
nix-env Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-instantiate Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-prefetch-url nix-prefetch-url: Stop progress bar before printing results 2018-11-09 10:34:12 +01:00
nix-store nix-store --gc --print-roots: Sort output 2019-03-14 13:59:10 +01:00
nlohmann Make flake input fetching lazy 2019-06-04 19:17:03 +02:00
resolve-system-dependencies Remove mentions of libformat, it no longer exists 2019-01-05 14:31:29 -05:00