gnu: rust-1.56: Adjust inherited package arguments.

* gnu/packages/rust.scm (rust-1.56)[arguments]: Strip inherited
validate-runpath flag from inherited arguments.

Change-Id: Iccd742f722ae3013f2ab4eac2234ea923c7af95a
This commit is contained in:
Efraim Flashner 2024-01-12 12:54:02 +02:00
parent 8a6ad1b32d
commit 80fffdcd9c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -535,14 +535,14 @@ safety and thread safety guarantees.")
(package
(inherit base-rust)
(arguments
(substitute-keyword-arguments (package-arguments base-rust)
((#:validate-runpath? _ #t)
#t)
(substitute-keyword-arguments
(strip-keyword-arguments '(#:validate-runpath?)
(package-arguments base-rust))
((#:phases phases)
`(modify-phases ,phases
(delete 'add-cc-shim-to-path)
(add-after 'patch-generated-file-shebangs 'patch-cargo-checksums
(lambda* _
(lambda _
(substitute* "Cargo.lock"
(("(checksum = )\".*\"" all name)
(string-append name "\"" ,%cargo-reference-hash "\"")))