-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
system: build for riscv64-unknown-linux-gnu #10228
Conversation
9980f76
to
bcfdb44
Compare
Note that this PR in itself does not cause the build to be added to the installer. For that you would need to add it to |
Triaged in the Nix team meeting:
|
We do have matrix:r/riscv:nixos.org for communication. Build failures can be reported there. |
Also mine ✋ |
I'd also like to participate. |
Thanks! And sorry for the extended delay in merging. |
@@ -171,6 +171,10 @@ sub downloadFile { | |||
downloadFile("binaryTarballCross.x86_64-linux.armv7l-unknown-linux-gnueabihf", "1"); | |||
}; | |||
warn "$@" if $@; | |||
eval { | |||
downloadFile("binaryTarballCross.x86_64-linux.riscv64-linux-gnu", "1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot the -unknown-
downloadFile("binaryTarballCross.x86_64-linux.riscv64-linux-gnu", "1"); | |
downloadFile("binaryTarballCross.x86_64-linux.riscv64-unknown-linux-gnu", "1"); |
Motivation
With the advent of increasing RISC-V plaforms, it would be nice to also have a (cross-compiled) nix tarball available to be consumed by our nix installation methods.
Context
Currently the nix installation instructions both errors out on riscv64-linux systems with following:
With these changes I was able to produce the required output to install nix on a riscv64-linux system (running Debian).
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.