diff --git a/modules/installer/tools/nixos-install.sh b/modules/installer/tools/nixos-install.sh index 470dea940a30..15c101216363 100644 --- a/modules/installer/tools/nixos-install.sh +++ b/modules/installer/tools/nixos-install.sh @@ -112,6 +112,10 @@ export LC_ALL= export LC_TIME= +# There is no daemon in the chroot +unset NIX_REMOTE + + # Create a temporary Nix config file that causes the nixbld users to # be used. if test -n "$build_users_group"; then