Dockerfile: Set the env var GUIX_LOCALES to the now installed locales

* Makefile: Provide a symlink for the profiles lib/locale
This commit is contained in:
Collin J. Doering 2023-12-31 14:20:47 -05:00
parent c32f86bc79
commit 692577c025
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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