Describe the bug
The problem is that the build hook tries to read the derivation from the default store (the one with the url in settings.storeUri). It has no idea about worker.evalStore.
The solution is to get rid of the build hook #5025. Then we don't have to worry about transporting information from local variables to another process, and doing the right thing will be easy.
Steps To Reproduce
nix-build -I nixpkgs=channel:nixpkgs-unstable '<nixpkgs>' -A hello --eval-store $PWD/foo --max-jobs 0 --no-substitute --store $PWD/bar --builders auto
The will fail with ....drv' is not a valid store path, when the build hook attempt to read in the derivation
Add 👍 to issues you find important.
Describe the bug
The problem is that the build hook tries to read the derivation from the default store (the one with the url in
settings.storeUri). It has no idea aboutworker.evalStore.The solution is to get rid of the build hook #5025. Then we don't have to worry about transporting information from local variables to another process, and doing the right thing will be easy.
Steps To Reproduce
The will fail with
....drv' is not a valid store path, when the build hook attempt to read in the derivationAdd 👍 to issues you find important.