summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 21:19:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:14 +0300
commit3f2b5828518b495055112233eb9ae667649e2d26 (patch)
tree065af82130e48c2c8c69e9a3642a6712dc2cc0f8 /gnu
parentf2a39602379f12364016b7772dd4c97c780b10e4 (diff)
downloadguix-3f2b5828518b495055112233eb9ae667649e2d26.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-apps.scm5
1 files changed, 5 insertions, 0 deletions
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")))