lib.systems: fix path to wine executable

This commit is contained in:
Alexandre Esteves 2026-02-10 20:16:44 +00:00
parent 60b1b86d04
commit 4255fb08c9

View file

@ -384,7 +384,7 @@ let
if pkgs.stdenv.hostPlatform.canExecute final then
lib.getExe (pkgs.writeShellScriptBin "exec" ''exec "$@"'')
else if final.isWindows then
"${wine}/bin/wine${optionalString (final.parsed.cpu.bits == 64) "64"}"
"${wine}/bin/wine"
else if final.isLinux && pkgs.stdenv.hostPlatform.isLinux && final.qemuArch != null then
"${pkgs.qemu-user}/bin/qemu-${final.qemuArch}"
else if final.isWasi then