guix-commits
[Top][All Lists]
Advanced

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

57/61: gnu: netavark: Allow building with newer dependencies.


From: guix-commits
Subject: 57/61: gnu: netavark: Allow building with newer dependencies.
Date: Thu, 28 Mar 2024 12:01:13 -0400 (EDT)

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

commit f327c1c62166be3fba03258ed8117753f1efcec4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 15:03:54 2024 +0200

    gnu: netavark: Allow building with newer dependencies.
    
    * gnu/packages/rust-apps.scm (netavark)[source]: Add snippet to allow
    building with newer dependencies.
    
    Change-Id: Idca6363d1d6b8106526fb616b57602556b371872
---
 gnu/packages/rust-apps.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 4d61be62a4..b1b2ed49d8 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1458,7 +1458,12 @@ on the terminal in a visually appealing way.")
        (uri (crate-uri "netavark" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw"))))
+        (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* (find-files "." "^Cargo\\.toml$")
+                  (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:install-source? #f



reply via email to

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