mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
system: build for riscv64-unknown-linux-gnu (#10228)
* system: add support for riscv64-unknown-linux-gnu * maintainers: upload riscv64-linux-gnu * doc: add riscv64-linux to supported platforms
This commit is contained in:
parent
731c389d32
commit
e3fa7c38d7
3 changed files with 12 additions and 1 deletions
|
@ -144,6 +144,7 @@ Nix can be built for various platforms, as specified in [`flake.nix`]:
|
|||
- `aarch64-darwin`
|
||||
- `armv6l-linux`
|
||||
- `armv7l-linux`
|
||||
- `riscv64-linux`
|
||||
|
||||
In order to build Nix for a different platform than the one you're currently
|
||||
on, you need a way for your current Nix installation to build code for that
|
||||
|
@ -166,7 +167,10 @@ or for Nix with the [`flakes`] and [`nix-command`] experimental features enabled
|
|||
$ nix build .#packages.aarch64-linux.default
|
||||
```
|
||||
|
||||
Cross-compiled builds are available for ARMv6 (`armv6l-linux`) and ARMv7 (`armv7l-linux`).
|
||||
Cross-compiled builds are available for:
|
||||
- `armv6l-linux`
|
||||
- `armv7l-linux`
|
||||
- `riscv64-linux`
|
||||
Add more [system types](#system-type) to `crossSystems` in `flake.nix` to bootstrap Nix on unsupported platforms.
|
||||
|
||||
### Building for multiple platforms at once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue