gnu: rust: Add correct triplet for riscv64-linux.

* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entry
for riscv64-linux.
This commit is contained in:
Efraim Flashner 2022-07-05 12:51:21 +03:00
parent 5cf9a03b7a
commit 37cf96835c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -99,6 +99,7 @@ (define* (nix-system->gnu-triplet-for-rust
("armhf-linux" "armv7-unknown-linux-gnueabihf")
("aarch64-linux" "aarch64-unknown-linux-gnu")
("mips64el-linux" "mips64el-unknown-linux-gnuabi64")
("riscv64-linux" "riscv64gc-unknown-linux-gnu")
(_ (nix-system->gnu-triplet system))))
(define* (rust-uri version #:key (dist "static"))