aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-04-17 21:51:59 +0200
committerPuck Meerburg <puck@puckipedia.com>2024-04-21 10:27:32 +0000
commitc1319831fbf26131c0a973b705b9bba7f067a601 (patch)
tree382f1f9565b45565169673adbb54beaf7026d5c5 /src/libstore/build
parent111db8b38fd8350d92d72fa17fd3d9e8ef5a0e09 (diff)
Fix exportReferencesGraph when given store subpath
With Nix 2.3, it was possible to pass a subpath of a store path to exportReferencesGraph: with import <nixpkgs> {}; let hello = writeShellScriptBin "hello" '' echo ${toString builtins.currentTime} ''; in writeClosure [ "${hello}/bin/hello" ] This regressed with Nix 2.4, with a very confusing error message, that presumably indicates it was unintentional: error: path '/nix/store/3gl7kgjr4pwf03f0x70dgx9ln3bhl7zc-hello/bin/hello' is not in the Nix store (cherry picked from commit 0774e8ba33c060f56bad3ff696796028249e915a) Change-Id: I00920fb33077b831a1bb4a1b68d515ba8c3c2a69
Diffstat (limited to 'src/libstore/build')
0 files changed, 0 insertions, 0 deletions