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 <ludo@gnu.org>master
parent
5757c641f2
commit
6a6b8a3fcf
|
@ -9912,7 +9912,7 @@ to occurrences in strings and comments.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((file-path (assoc-ref inputs "file")))
|
(let ((file-path (assoc-ref inputs "file")))
|
||||||
(substitute* "py3status/parse_config.py"
|
(substitute* "py3status/parse_config.py"
|
||||||
(("\\['file', '-b'")
|
(("\\[\"file\", \"-b\"")
|
||||||
(string-append "['" file-path "/bin/file', '-b'")))
|
(string-append "['" file-path "/bin/file', '-b'")))
|
||||||
#t))))
|
#t))))
|
||||||
#:tests? #f)) ; TODO: Requires many libraries not in Guix.
|
#:tests? #f)) ; TODO: Requires many libraries not in Guix.
|
||||||
|
|
Reference in New Issue