Make nix
visible to WSL
This commit is contained in:
parent
5b7122ce2e
commit
317aad550a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue