gnu: rust: Add triplet for the Hurd.

* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entries
for i586-pc, i686-pc.

Change-Id: I0b7bdc3c0445430b5f4ea79d8e052b6ef276f11b
This commit is contained in:
Efraim Flashner 2023-11-21 20:40:52 +02:00
parent e604972d9c
commit f284ca9a1b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -108,6 +108,8 @@ (define* (nix-system->gnu-triplet-for-rust
("aarch64-linux" "aarch64-unknown-linux-gnu")
("mips64el-linux" "mips64el-unknown-linux-gnuabi64")
("riscv64-linux" "riscv64gc-unknown-linux-gnu")
("i586-gnu" "i686-unknown-hurd-gnu")
("i686-gnu" "i686-unknown-hurd-gnu")
(_ (nix-system->gnu-triplet system))))
(define* (rust-uri version #:key (dist "static"))