mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ (define-public icecat
|
||||||
(let ((null-hash "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"))
|
(let ((null-hash "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(format #t "patching checksums in ~a~%" file)
|
(format #t "patching checksums in ~a~%" file)
|
||||||
(substitute* (find-files "." "Cargo.lock$")
|
(substitute* file
|
||||||
(("^checksum = \".*\"")
|
(("^checksum = \".*\"")
|
||||||
(string-append "checksum = \"" null-hash "\""))))
|
(string-append "checksum = \"" null-hash "\""))))
|
||||||
(find-files "." "Cargo.lock$"))
|
(find-files "." "Cargo.lock$"))
|
||||||
|
|
Loading…
Reference in a new issue