From 9a42fba7f78591c703776c30ee4e5afb94444968 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 1 Aug 2024 18:03:48 +0200 Subject: [PATCH] Make `nix` visible to WSL --- scripts/Windows/Scripts/Config.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/Config.ps1 b/scripts/Windows/Scripts/Config.ps1 index 2c2cc670..17bd24a4 100644 --- a/scripts/Windows/Scripts/Config.ps1 +++ b/scripts/Windows/Scripts/Config.ps1 @@ -76,7 +76,7 @@ $null = New-Module { $scriptPath = "$PSScriptRoot/../../Common/Scripts/config.fish"; function fish { - wsl -- nix --extra-experimental-features "nix-command flakes" nixpkgs`#fish $args + wsl --shell-type login -- nix --extra-experimental-features "nix-command flakes" nixpkgs`#fish $args } fish -c ". $(ConvertTo-LinuxPath $scriptPath); $Script" | ConvertFrom-Json;