From b665a246194be0205f07ae03696e2c378a1bfd0d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 5 Dec 2019 16:31:21 +0200 Subject: gnu: librsvg-next: Use generate-all-checksums. * gnu/packages/gnome.scm (librsvg-next)[arguments]: Use generate-all-checksums instead of manually traversing the directories. --- gnu/packages/gnome.scm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index d7df8e9836..cddfd75cc0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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 -- cgit 1.4.1