From b84429274f96a61162594883a92dabf84eb43e7b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 28 Mar 2024 15:03:22 +0200 Subject: 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 --- gnu/packages/rust-apps.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/rust-apps.scm') 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 -- cgit v1.2.3