From: Florian Pelz Date: Thu, 12 Mar 2020 11:08:16 +0100 Subject: [PATCH] store: Fix many guix commands failing on some locales. Fixes bug #39970 (see: https://bugs.gnu.org/39970). At least 'guix environment', 'guix install' and 'guix pull' on 'az_AZ.utf8' and 'tr_TR.utf8' are affected. * guix/store.scm (store-regexp*): Avoid dependence on locale. --- guix/store.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/store.scm b/guix/store.scm index f99fa581a8..82d7403bb6 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -1949,7 +1949,8 @@ valid inputs." (mlambda (store) "Return a regexp matching a file in STORE." (make-regexp (string-append "^" (regexp-quote store) - "/([0-9a-df-np-sv-z]{32})-([^/]+)$")))) + "\ +/([0-9abcdfghijklmnpqrsvwxyz]{32})-([^/]+)$")))) (define (store-path-package-name path) "Return the package name part of PATH, a file name in the store." -- 2.25.1