diff options
| author | K900 <me@0upti.me> | 2022-06-06 17:28:28 +0300 |
|---|---|---|
| committer | K900 <me@0upti.me> | 2022-06-06 17:28:28 +0300 |
| commit | f9682ac36bec6789f6fa6edb1d4242d8a4a442f6 (patch) | |
| tree | fb585bd7079a1ebe52455986d52ab6a92cfc49cf /modules | |
| parent | 0bc8728d321fbac3f8c8cfa7c648471edf486bc6 (diff) | |
interop: fix wrapper hack
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wsl-distro.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index 757245b..b81e142 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -97,7 +97,7 @@ with builtins; with lib; compatWrapper = pkgs.writeShellScript "nixos-wsl-binfmt-hack" '' /init /nixos-wsl-does-not-exist.exe [ $? -eq 255 ] && shift - exec /init $@ + exec /init "$@" ''; # use the autodetect hack if unset, otherwise call /init directly |
