From 0432b5907b9a836df572f17889e418a106f740fb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 21:19:28 +0300 Subject: [PATCH] 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. --- gnu/packages/rust-apps.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 5a98f54e69..f572a3404e 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -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")))