aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZhu Zihao <all_but_last@163.com>2020-09-28 13:16:21 +0800
committerMark H Weaver <mhw@netris.org>2020-09-28 14:45:27 -0400
commit981cdc901179d8feb4bdde5eefe1930ce32bb0d0 (patch)
treeb4880194931a57b4177cc15a65f91d0b2ab3bcb0 /gnu/packages
parentf0648a4b675c4951856ab9fbb414f8edc7ddfb54 (diff)
downloadguix-981cdc901179d8feb4bdde5eefe1930ce32bb0d0.tar.gz
guix-981cdc901179d8feb4bdde5eefe1930ce32bb0d0.zip
gnu: icecat: Remove duplicate find-files call.
* gnu/packages/gnuzilla.scm (icecat)[arguments]<phases>: In the patch-cargo-checksums phase, replace the inner "find-files" call with the already found file name. Signed-off-by: Mark H Weaver <mhw@netris.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnuzilla.scm2
1 files changed, 1 insertions, 1 deletions
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$"))