diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-28 15:04:24 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:45:08 +0300 |
commit | 4be051fffba2613953ba1e5953d00ad53642e669 (patch) | |
tree | 4196ea844937510a070935eea594342a4e0c0570 | |
parent | cf218b157513d7c60cc5a787f93ab8439c7e41ce (diff) | |
download | guix-4be051fffba2613953ba1e5953d00ad53642e669.tar.gz guix-4be051fffba2613953ba1e5953d00ad53642e669.zip |
gnu: stgit-2: Allow building with newer dependencies.
* gnu/packages/version-control.scm (stgit-2)[source]: Add snippet to
allow building with newer dependencies.
Change-Id: Ia1309c0656a3f0df2529f52e2ddd4bfbd59e163d
-rw-r--r-- | gnu/packages/version-control.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 3267a541a1..cf7f7b0ad8 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1635,7 +1635,12 @@ lot easier.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj")))) + (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* (find-files "." "^Cargo\\.toml$") + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) |