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 --- debian/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/Dockerfile b/debian/Dockerfile index 52eb820..edc605c 100644 --- a/debian/Dockerfile +++ b/debian/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