guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

364/379: gnu: fd: Adjust for newer rust-clap-4.


From: guix-commits
Subject: 364/379: gnu: fd: Adjust for newer rust-clap-4.
Date: Thu, 29 Jun 2023 12:35:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit fc887f095d107a7e21ac46f6c0f733d92d90caf1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 21:19:28 2023 +0300

    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 @@ 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]