Skip to content

Commit

Permalink
interop: fix wrapper hack
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jun 6, 2022
1 parent 0bc8728 commit f9682ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wsl-distro.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9682ac

Please sign in to comment.