lix/src/nix
Eelco Dolstra 950b46821f Remove TreeInfo
The attributes previously stored in TreeInfo (narHash, revCount,
lastModified) are now stored in Input. This makes it less arbitrary
what attributes are stored where.

As a result, the lock file format has changed. An entry like

    "info": {
      "lastModified": 1585405475,
      "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
    },
    "locked": {
      "owner": "NixOS",
      "repo": "nixpkgs",
      "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
      "type": "github"
    },

is now stored as

    "locked": {
      "owner": "NixOS",
      "repo": "nixpkgs",
      "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
      "type": "github",
      "lastModified": 1585405475,
      "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
    },

The 'Input' class is now a dumb set of attributes. All the fetcher
implementations subclass InputScheme, not Input. This simplifies the
API.

Also, fix substitution of flake inputs. This was broken since lazy
flake fetching started using fetchTree internally.
2020-05-30 00:44:11 +02:00
..
add-to-store.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
build.cc Add completion for paths 2020-05-10 21:35:07 +02:00
cat.cc Cleanup 2020-05-11 15:57:45 +02:00
command.cc Add completion for paths 2020-05-10 21:35:07 +02:00
command.hh nix flake: Add completion support 2020-05-11 22:10:33 +02:00
copy.cc Merge remote-tracking branch 'origin/master' into flakes 2020-05-05 18:59:33 +02:00
dev-shell.cc rm includes 2020-05-16 11:19:41 -06:00
doctor.cc nix doctor: Consistency 2020-05-05 15:27:47 +02:00
dump-path.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
edit.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
eval.cc Merge remote-tracking branch 'origin/master' into flakes 2020-05-05 18:59:33 +02:00
flake-template.nix flake-template.nix: Add defaultPackage 2020-04-27 22:52:49 +02:00
flake.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
get-env.sh nix dev-shell: Support structured attrs 2020-04-30 14:47:47 +02:00
hash.cc Cleanup 2020-05-11 15:57:45 +02:00
installables.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
installables.hh Call lockFlake once and store in _lockedFlake 2020-05-16 11:03:06 -06:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk Fix build 2020-05-01 12:42:39 +02:00
log.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
ls.cc Cleanup 2020-05-11 15:57:45 +02:00
main.cc Merge remote-tracking branch 'origin/master' into flakes 2020-05-28 12:55:24 +02:00
make-content-addressable.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
optimise-store.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
path-info.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
ping-store.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
profile.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
progress-bar.cc Hide progress bar on exit 2020-04-17 01:13:13 +02:00
progress-bar.hh nix: Add --print-build-logs flag 2019-05-15 17:33:56 +02:00
registry.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
repl.cc Cleanup 2020-05-11 15:57:45 +02:00
run.cc Move registry-related commands from 'nix flake' to 'nix registry' 2020-05-15 14:38:10 +02:00
search.cc Update src/nix/search.cc 2020-05-07 12:13:16 +02:00
show-config.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
show-derivation.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
sigs.cc Add completion for paths 2020-05-10 21:35:07 +02:00
upgrade-nix.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
verify.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
why-depends.cc Merge remote-tracking branch 'origin/master' into flakes 2020-05-05 18:59:33 +02:00