Eelco Dolstra
Eelco Dolstra
## Motivation This adds a setting `lazy-trees` that causes flake inputs to be "mounted" as virtual filesystems on top of /nix/store as random "virtual" store paths. Only when the store...
## Motivation Caching NAR hashes instead of store paths makes the cache more general, because we can always compute the store path from the NAR hash, but not the other...
## Motivation This avoids a potentially expensive computation of `revCount` (and `lastModified`, but that's cheap) in the common case where it's already known (namely because it's in a lock file)....
This PR makes it possible to connect to a remote Nix daemon via TCP, and for the Nix daemon to listen on multiple sockets (including TCP) via systemd. Lacking encryption/authentication,...
## Motivation This may be more efficient than `fetchTree` since it allows substitution from binary caches if `narHash` is specified in the input attributes. This is what `call-flake.nix` already used...
## Motivation Since the resulting target flakeref contains attributes like `lastModified` or `narHash`, it's not suitable for overriding. This led to errors like ``` $ nix build nixpkgs/24.05#hello error: 'lastModified'...
## Motivation These don't need to evaluate anything (except for the flake metadata in `flake.nix`) so we can make these commands operate on lazy trees (i.e. without having to copy...
## Motivation This fixes the issue where updating a Git input does a non-shallow fetch, and then a subsequent eval does a shallow refetch because the revCount is already known....
Unlike `fetchTree`, this allow inputs to be substituted (since the fetcher won't return any output attributes like `revCount` that weren't in the input attributes). See https://github.com/NixOS/nix/pull/14634.