diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-12-05 16:31:21 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-12-05 16:31:21 +0200 |
commit | b665a246194be0205f07ae03696e2c378a1bfd0d (patch) | |
tree | 03262f6193c038c7e451fde0e0672ef84bb78dad /gnu/packages/gnome.scm | |
parent | 73bd8ab6692df2536df4fe230c9c223179645e88 (diff) | |
download | guix-b665a246194be0205f07ae03696e2c378a1bfd0d.tar guix-b665a246194be0205f07ae03696e2c378a1bfd0d.tar.gz |
gnu: librsvg-next: Use generate-all-checksums.
* gnu/packages/gnome.scm (librsvg-next)[arguments]: Use
generate-all-checksums instead of manually traversing the directories.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 10 |
1 files changed, 1 insertions, 9 deletions
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 |