From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36932) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imizP-0000zO-Pw for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imizO-0000N8-SU for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imizO-0000Ml-P1 for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imizO-0005ye-JT for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:02 -0500 Subject: [bug#38852] [PATCH] gnu: python-py3status: Fix patch of file path Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:36882) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imiyO-0000qo-Li for guix-patches@gnu.org; Wed, 01 Jan 2020 13:44:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imiyN-000819-MQ for guix-patches@gnu.org; Wed, 01 Jan 2020 13:44:00 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:41328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imiyN-0007rS-Bx for guix-patches@gnu.org; Wed, 01 Jan 2020 13:43:59 -0500 Date: Wed, 1 Jan 2020 19:43:49 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200101184349.ha7kwiyk6frqs6wy@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38852@debbugs.gnu.org * 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. --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9b71982c3a..7001c69762 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9908,7 +9908,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. -- 2.24.1