me
/
guix
Archived
1
0
Fork 0

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
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
1 changed files with 1 additions and 1 deletions

View File

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