From 73ca5018b2d5fbbbd7eb3e6dfd95806942e110e3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 1 Aug 2024 16:25:18 +0200 Subject: [PATCH] Reboot WSL to pick up `nix` --- scripts/Windows/OS/Install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index bcd2aace..b07da118 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -66,6 +66,7 @@ function Start-InstallationLoop { } else { ubuntu install --root; wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes; + wsl --shutdown; } } else { $null = Import-Module PSWindowsUpdate;