* 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>
(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.