lix/src/libexpr
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
..
flake Remove TreeInfo 2020-05-30 00:44:11 +02:00
primops Remove TreeInfo 2020-05-30 00:44:11 +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 EvalState::allocAttr(): Add convenience method 2020-03-24 13:26:37 +01:00
attr-set.hh Bindings::get(): std::optional<Attr *> -> Attr * 2020-02-13 17:15:05 +01:00
common-eval-args.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
common-eval-args.hh Fix --override-flake and add a test 2020-01-22 20:00:58 +01:00
eval-cache.cc Remove obsolete FIXME 2020-05-06 17:40:01 +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 nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
eval.hh nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
function-trace.cc Fix coverage build 2020-03-24 14:06:47 +01:00
function-trace.hh Hide FunctionCallTrace constructor/destructor 2020-01-05 16:21:34 +01:00
get-drvs.cc nix search: Search legacyPackages recursively 2020-04-27 16:29:26 +02:00
get-drvs.hh experimental/optional -> optional 2019-03-14 14:10:52 +01:00
imported-drv-to-derivation.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
json-to-value.cc JSONSax: Use a RootValue 2020-04-16 17:30:18 +02:00
json-to-value.hh Fix extra ; warnings involving MakeError 2019-11-10 11:24:47 -05:00
lexer.l simplify handling of extra '}' 2018-10-27 00:14:51 +02:00
local.mk Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
names.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
names.hh Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-expr.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
nixexpr.cc Fix compatibility with latest boost::format 2018-03-14 19:25:09 +01:00
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-04-23 15:16:18 +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 builtins.toJSON: fix __toString usage 2019-10-27 10:15:51 +01:00
value-to-json.hh nix path-info: Add --json flag 2016-08-29 17:29:24 +02:00
value-to-xml.cc OCD performance fix: {find,count}+insert => insert 2019-10-09 16:06:29 +02:00
value-to-xml.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh Merge remote-tracking branch 'origin/master' into flakes 2020-04-16 18:33:10 +02:00