lix/src
regnat 7080321618 Use the fs accessor for readInvalidDerivation
Extend `FSAccessor::readFile` to allow not checking that the path is a
valid one, and rewrite `readInvalidDerivation` using this extended
`readFile`.

Several places in the code use `readInvalidDerivation`, either because
they need to read a derivation that has been written in the store but
not registered yet, or more generally to prevent a deadlock because
`readDerivation` tries to lock the state, so can't be called from a
place where the lock is already held.
However, `readInvalidDerivation` implicitely assumes that the store is a
`LocalFSStore`, which isn't always the case.

The concrete motivation for this is that it's required for `nix copy
--from someBinaryCache` to work, which is tremendously useful for the
tests.
2020-12-15 20:10:46 +01:00
..
build-remote Lower verbosity for 'Failed to find a machine' message 2020-12-01 13:43:36 +01:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libexpr primops/fromJSON: add error position in case of parse error 2020-12-13 13:55:32 +01:00
libfetchers fetchMercurial: set HGPLAIN when invoking hg 2020-11-23 16:12:33 +00:00
libmain Ask for confirmation before allowing flake Nix configuration settings 2020-11-26 12:37:23 +01:00
libstore Use the fs accessor for readInvalidDerivation 2020-12-15 20:10:46 +01:00
libutil Add lvlNotice log level 2020-12-10 16:41:24 +01:00
nix Merge pull request #4350 from NixOS/ca/fix-build-with-nix-command 2020-12-11 15:01:49 +01:00
nix-build nix-build: Fix #4197 output order regression 2020-11-13 17:49:27 +01:00
nix-channel Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-collect-garbage Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-copy-closure Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-daemon Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-env Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-instantiate Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-prefetch-url Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-store Allow substituting paths when building remotely using ssh-ng:// 2020-11-05 20:12:37 +01:00
resolve-system-dependencies lstat() cleanup 2020-09-23 19:17:28 +02:00