From 62b9189f2da7d9b0804f38d564a1efed1e5db0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 16 Dec 2020 17:07:17 +0100 Subject: Use a profile folder outside of /nix/var --- alpine/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'alpine/Dockerfile') diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 5399610..f6ea60c 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -19,6 +19,7 @@ USER nixuser ENV USER=nixuser ENV HOME="/home/nixuser" ENV NIX_SYSTEM_PATH="/nix/var/nix/profiles/system" +ENV NIX_PROFILE="$HOME/nix-envs" RUN cd && wget https://nixos.org/releases/nix/nix-$NIX_VERSION/nix-$NIX_VERSION-x86_64-linux.tar.xz \ && tar xJf nix-*-x86_64-linux.tar.xz \ -- cgit v1.2.3