From 981cdc901179d8feb4bdde5eefe1930ce32bb0d0 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Mon, 28 Sep 2020 13:16:21 +0800 Subject: gnu: icecat: Remove duplicate find-files call. * gnu/packages/gnuzilla.scm (icecat)[arguments]: In the patch-cargo-checksums phase, replace the inner "find-files" call with the already found file name. Signed-off-by: Mark H Weaver --- gnu/packages/gnuzilla.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index cf66958857..440d9509c1 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1012,7 +1012,7 @@ from forcing GEXP-PROMISE." (let ((null-hash "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855")) (for-each (lambda (file) (format #t "patching checksums in ~a~%" file) - (substitute* (find-files "." "Cargo.lock$") + (substitute* file (("^checksum = \".*\"") (string-append "checksum = \"" null-hash "\"")))) (find-files "." "Cargo.lock$")) -- cgit v1.2.3