From 07bf7ea36c734f6713f3e4c9ca917a934d39ba7b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 23 Jan 2024 11:09:08 +0200 Subject: [PATCH] gnu: rbw: Accept newer versions of dependencies. * gnu/packages/rust-apps.scm (rbw)[source]: Add snippet to allow newer versions of dependencies. Change-Id: Ic2786b11f815789c691b0a1daf9f753b273b8dd1 --- 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 f50b1fee75..adb088eef8 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1976,7 +1976,12 @@ (define-public rbw (uri (crate-uri "rbw" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p8bzpqgdc20l2vbb80gsb2ri5j16af958bixpnnp73mfvwzxvg1")))) + (base32 "1p8bzpqgdc20l2vbb80gsb2ri5j16af958bixpnnp73mfvwzxvg1")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:install-source? #f