guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: icecat: Remove duplicate find-files call.


From: guix-commits
Subject: 06/06: gnu: icecat: Remove duplicate find-files call.
Date: Mon, 28 Sep 2020 14:49:13 -0400 (EDT)

mhw pushed a commit to branch master
in repository guix.

commit 981cdc901179d8feb4bdde5eefe1930ce32bb0d0
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Mon Sep 28 13:16:21 2020 +0800

    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>
---
 gnu/packages/gnuzilla.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index cf66958..440d950 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$"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]