mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: librsvg-next: Use generate-all-checksums.
* gnu/packages/gnome.scm (librsvg-next)[arguments]: Use generate-all-checksums instead of manually traversing the directories.
This commit is contained in:
parent
73bd8ab669
commit
b665a24619
1 changed files with 1 additions and 9 deletions
|
@ -1642,15 +1642,7 @@ from forcing GEXP-PROMISE."
|
|||
(use-modules (guix build cargo-utils))
|
||||
(substitute* "librsvg/Cargo.toml"
|
||||
(("bitflags .*") "bitflags = \"1\"\n")) ; 1.2 is vendored
|
||||
(for-each
|
||||
(lambda (filename)
|
||||
(delete-file filename)
|
||||
(let ((dir (dirname filename)))
|
||||
(display (string-append
|
||||
"patch-cargo-checksums: generate-checksums for "
|
||||
dir "\n"))
|
||||
(generate-checksums dir)))
|
||||
(find-files "vendor" "\\.cargo(-checksum|_vcs_info).json"))
|
||||
(generate-all-checksums "vendor")
|
||||
(delete-file "Cargo.lock")
|
||||
(invoke "cargo" "generate-lockfile")))
|
||||
(add-before 'configure 'pre-configure
|
||||
|
|
Loading…
Reference in a new issue