diff --git a/docker.nix b/docker.nix index 410e4a178..ed62c3a4e 100644 --- a/docker.nix +++ b/docker.nix @@ -311,6 +311,7 @@ let # see doc/manual/source/command-ref/files/profiles.md ln -s ${profile} $out/nix/var/nix/profiles/default-1-link ln -s /nix/var/nix/profiles/default-1-link $out/nix/var/nix/profiles/default + ln -s /nix/var/nix/profiles/default $out${userHome}/.nix-profile # see doc/manual/source/command-ref/files/channels.md ln -s ${channel} $out/nix/var/nix/profiles/per-user/${uname}/channels-1-link