guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: python-py3status: Fix patch of file path


From: guix-commits
Subject: 05/06: gnu: python-py3status: Fix patch of file path
Date: Mon, 6 Jan 2020 10:32:17 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 6a6b8a3fcfc35a5e7b10e7c2a9a75e909354d4d6
Author: Jakub Kądziołka <address@hidden>
AuthorDate: Wed Jan 1 19:43:49 2020 +0100

    gnu: python-py3status: Fix patch of file path
    
    * gnu/packages/python-xyz.scm (python-py3status): Fix patch of file
      path.
      [arguments]: Replace single-quotes with double-quotes so that the
      regex matches again. The "replace-with" value is not changed as it's
      not necessary and would introduce escaping noise.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c1a4f8..194d8b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9912,7 +9912,7 @@ to occurrences in strings and comments.")
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((file-path (assoc-ref inputs "file")))
                (substitute* "py3status/parse_config.py"
-                 (("\\['file', '-b'")
+                 (("\\[\"file\", \"-b\"")
                   (string-append "['" file-path "/bin/file', '-b'")))
                #t))))
        #:tests? #f)) ; TODO: Requires many libraries not in Guix.



reply via email to

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