From 692577c02550aa69d816977646cbae1c87ffac72 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sun, 31 Dec 2023 14:20:47 -0500 Subject: [PATCH] Dockerfile: Set the env var GUIX_LOCALES to the now installed locales * Makefile: Provide a symlink for the profiles lib/locale --- Dockerfile | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4b95a5..273a1b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ ADD links.tar.gz / ADD passwd /etc/passwd ADD passwd /tmp/proot/delete-me +ENV GUIX_LOCPATH=/guix-builder/lib/locale ENV PROOT_TMP_DIR=/tmp/proot RUN rm /tmp/proot/delete-me diff --git a/Makefile b/Makefile index 68bbbf7..cfcafbd 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ $(LINKS_TARBALL): rm bin $(TARBALL): - @cp $$(guix pack -RR -S /bin=bin -S /etc/ssl=etc/ssl -m $(GUIX_MANIFEST)) $@ + @cp $$(guix pack -RR -S /bin=bin -S /etc/ssl=etc/ssl -S /lib/locale=lib/locale -m $(GUIX_MANIFEST)) $@ @chmod +w $@ .PHONY: build