diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-12 12:54:02 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:41 +0200 |
commit | 80fffdcd9cbb0bfe6819fec443f082fdcb4abf44 (patch) | |
tree | 511a2a1b309a082b65161e453d9efdd2d875e975 /gnu/packages/rust.scm | |
parent | 8a6ad1b32de85e110a5d83730f68660a2de8c026 (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/rust.scm')
-rw-r--r-- | gnu/packages/rust.scm | 8 |
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 "\""))) |