diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-28 15:03:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:08 +0300 |
commit | cf218b157513d7c60cc5a787f93ab8439c7e41ce (patch) | |
tree | c934401709ef8a0e7a36f547f30581fd27f3c134 /gnu/packages/rust-apps.scm | |
parent | b84429274f96a61162594883a92dabf84eb43e7b (diff) | |
download | guix-cf218b157513d7c60cc5a787f93ab8439c7e41ce.tar.gz guix-cf218b157513d7c60cc5a787f93ab8439c7e41ce.zip |
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
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-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 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 |