Make nix
visible to WSL
This commit is contained in:
parent
3a5e8556c5
commit
9a42fba7f7
|
@ -76,7 +76,7 @@ $null = New-Module {
|
||||||
$scriptPath = "$PSScriptRoot/../../Common/Scripts/config.fish";
|
$scriptPath = "$PSScriptRoot/../../Common/Scripts/config.fish";
|
||||||
|
|
||||||
function 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;
|
fish -c ". $(ConvertTo-LinuxPath $scriptPath); $Script" | ConvertFrom-Json;
|
||||||
|
|
Loading…
Reference in a new issue