summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-12 12:54:02 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:41 +0200
commit80fffdcd9cbb0bfe6819fec443f082fdcb4abf44 (patch)
tree511a2a1b309a082b65161e453d9efdd2d875e975 /gnu/packages
parent8a6ad1b32de85e110a5d83730f68660a2de8c026 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rust.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 40fd40bcf6..dbc16a02ab 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -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 "\"")))