From 4445284e9fd40b3e271fa7b511d2856c03c8ccfb Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Sat, 7 Mar 2020 11:38:59 +0100 Subject: [PATCH] store: Fix many guix commands failing on some locales. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/store.scm b/guix/store.scm index f99fa581a8..a1d9713c24 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -1949,7 +1949,7 @@ 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-9a-df-hij-np-sv-z]{32})-([^/]+)$")))) (define (store-path-package-name path) "Return the package name part of PATH, a file name in the store." -- 2.25.0