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>
This commit is contained in:
Zhu Zihao 2020-09-28 13:16:21 +08:00 committed by Mark H Weaver
parent f0648a4b67
commit 981cdc9011
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -1012,7 +1012,7 @@ (define-public icecat
(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$"))