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
Trying to review linux builds on osx with remote build fails #72
Comments
It was a problem related to the |
Note that for remote builders crossing architectures we only build packages that can be evaluated on the current system and not the system that you set with https://github.com/Mic92/nix-review/blob/master/nix_review/review.py#L26 We need a proper |
Thanks for the answer. How would you achieve such a proper |
The value needs to be passed to https://github.com/Mic92/nix-review/blob/master/nix_review/review.py#L160 (used for local evaluation) and https://github.com/Mic92/nix-review/blob/master/nix_review/review.py#L30 (used when processing ofborg's evaluation) so both returns the packages for the target system and not the system |
I am on OSX Catalina and I try to review if my own pull request regarding openconnet also works on linux by using linuxkit-nix and nix-review:
nix-shell -p nix-review nix-review pr --build-args="--builders ssh://root@nix-linuxkit --argstr system x86_64-linux" 71318
Unfortunately it fails with the error:
If I try it with the
--option
arg:nix-review pr --build-args="--builders ssh://root@nix-linuxkit --option system x86_64-linux" 71318
it fails silently by somehow skipping the build because I get the following output:
Possibly related issues who tried the same using nix-docker.
Using just
build --option build-use-sandbox true --argstr system x86_64-linux -A openconnect
works just fine.The text was updated successfully, but these errors were encountered: