locale: Use the native gzip and libc when building locales.

This fixes system cross-compilation.

* gnu/system/locale.scm (single-locale-directory)[build]: Use the native
GZIP and LIBC.
This commit is contained in:
Ludovic Courtès 2020-05-14 23:20:14 +02:00
parent 2050734717
commit 4daa7a85b4
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -106,7 +106,7 @@ (define build
;; 'localedef' executes 'gzip' to access compressed locale sources.
(setenv "PATH"
(string-append #$gzip "/bin:" #$libc "/bin"))
(string-append #+gzip "/bin:" #+libc "/bin"))
(setvbuf (current-output-port) 'line)
(setvbuf (current-error-port) 'line)