diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-28 15:03:22 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:07 +0300 |
commit | b84429274f96a61162594883a92dabf84eb43e7b (patch) | |
tree | 4bbf6d0c33663cfb16e9b0d1c09bd3ba3f72a9e0 /gnu/packages | |
parent | 71b6da80e697aa60b760e397db73f0a5a2489a50 (diff) | |
download | guix-b84429274f96a61162594883a92dabf84eb43e7b.tar.gz guix-b84429274f96a61162594883a92dabf84eb43e7b.zip |
gnu: aardvark-dns: Allow building with newer dependencies.
* gnu/packages/rust-apps.scm (aardvark-dns)[source]: Add snippet to
allow building with newer dependencies.
Change-Id: I81341cdd224e14064f17a4bcfa5c393550d67619
Diffstat (limited to 'gnu/packages')
-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 dbddc9f3b1..4d61be62a4 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -112,7 +112,12 @@ (uri (crate-uri "aardvark-dns" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x")))) + (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x")) + (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 |