Make nix visible to WSL

This commit is contained in:
Manuel Thalmann 2024-08-01 18:03:48 +02:00
parent 3a5e8556c5
commit 9a42fba7f7

View file

@ -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;