1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-26 15:04:07 +02:00

gnu: rust: Never refer to previous rust version.

* gnu/packages/rust.scm (rust-bootstrapped-package)[arguments]: Adjust
the disallowed-references to have the rust and cargo inputs.
(rust)[arguments]: Don't override inherited disallowed-references.

Change-Id: I467aa47ebb85bce1c05798ac6de9ec8c32037b42
This commit is contained in:
Efraim Flashner
2026-04-19 08:38:49 +03:00
parent 9b5afcb777
commit 690b843347
+3 -5
View File
@@ -127,7 +127,9 @@
(arguments
(substitute-keyword-arguments (package-arguments base-rust)
((#:disallowed-references _ '())
(list (this-package-native-input "rust")))))
(list (this-package-native-input "rust")
;; Refer to cargo as #$rustc:cargo.
(gexp-input (this-package-native-input "rust") "cargo")))))
(native-inputs
(list pkg-config
python-minimal-wrapper
@@ -1939,10 +1941,6 @@ ge13ca993e8ccb9ba9847cc330696e02839f328f7/jemalloc"))
(substitute-keyword-arguments
(strip-keyword-arguments '(#:tests?)
(package-arguments base-rust))
((#:disallowed-references _ '())
(list (this-package-native-input "rust")
;; Refer to cargo as #$rust:cargo.
(gexp-input (this-package-native-input "rust") "cargo")))
((#:modules modules)
(cons '(srfi srfi-26) modules))
((#:phases phases)