gnu: rust: Run linker under C.UTF-8 instead of en_US.UTF-8.

This is a followup to 02d21712be1eb31a917313662b924763e81affb3.

* gnu/packages/rust.scm (rust-1.55)[arguments]: In
‘set-linker-locale-to-utf8’, change to C.UTF-8.

Change-Id: I94f27123ca8ac4761fd9bae6267c3a9d122b3a1d
This commit is contained in:
Ludovic Courtès 2024-01-08 12:06:34 +01:00
parent 6b995da47a
commit c48f446444
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -446,7 +446,7 @@ (define-public rust-1.55
(lambda _
(substitute* (find-files "." "^linker.rs$")
(("linker.env\\(\"LC_ALL\", \"C\"\\);")
"linker.env(\"LC_ALL\", \"en_US.UTF-8\");"))))
"linker.env(\"LC_ALL\", \"C.UTF-8\");"))))
(add-after 'unpack 'add-cc-shim-to-path
(lambda _
(mkdir-p "/tmp/bin")