diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-23 11:09:08 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:26 +0200 |
commit | 07bf7ea36c734f6713f3e4c9ca917a934d39ba7b (patch) | |
tree | 3b744b3bd1e22f0955683a8494cfd2dfae6cd5a7 | |
parent | 59bf9527d731eddcda220d43e21d0c2027a2d8d5 (diff) | |
download | guix-07bf7ea36c734f6713f3e4c9ca917a934d39ba7b.tar.gz |
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
-rw-r--r-- | gnu/packages/rust-apps.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ runs a command whenever it detects modifications.") (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 |