mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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>
This commit is contained in:
parent
5757c641f2
commit
6a6b8a3fcf
1 changed files with 1 additions and 1 deletions
|
@ -9912,7 +9912,7 @@ (define-public python-py3status
|
|||
(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.
|
||||
|
|
Loading…
Reference in a new issue