mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: fd: Adjust for newer rust-clap-4.
* gnu/packages/rust-apps.scm (fd)[arguments]: Add a phase to remove a feature-flag which was removed from the dependant project.
This commit is contained in:
parent
c62b63a210
commit
0432b5907b
1 changed files with 5 additions and 0 deletions
|
@ -520,6 +520,11 @@ (define-public fd
|
|||
(setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1")
|
||||
(setenv "JEMALLOC_OVERRIDE"
|
||||
(string-append jemalloc "/lib/libjemalloc.so")))))
|
||||
(add-after 'unpack 'adjust-feature-flags
|
||||
(lambda _
|
||||
;; unstable-grouped was stablized in rust-clap 4.2.0
|
||||
(substitute* "Cargo.toml"
|
||||
((".*unstable-grouped.*") ""))))
|
||||
(add-after 'install 'install-extra
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue