From 3f2b5828518b495055112233eb9ae667649e2d26 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 22 May 2023 21:19:28 +0300 Subject: 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(+) (limited to 'gnu') 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 @@ also knows about symlinks, extended attributes, and Git.") (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"))) -- cgit 1.4.1