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:
parent
f0648a4b67
commit
981cdc9011
|
@ -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$"))
|
||||
|
|
Loading…
Reference in a new issue