Skip to content

--eval-store breaks remote building #13179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ericson2314 opened this issue May 13, 2025 · 0 comments
Open

--eval-store breaks remote building #13179

Ericson2314 opened this issue May 13, 2025 · 0 comments
Labels

Comments

@Ericson2314
Copy link
Member

Ericson2314 commented May 13, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant