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:
Jakub Kądziołka 2020-01-01 19:43:49 +01:00 committed by Ludovic Courtès
parent 5757c641f2
commit 6a6b8a3fcf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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.