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:
parent
8a6ad1b32d
commit
80fffdcd9c
@ -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 "\"")))
|
||||
|
Loading…
Reference in New Issue
Block a user