lib.systems: fix path to wine executable (#489196)

This commit is contained in:
John Ericson
2026-02-11 16:42:54 +00:00
committed by GitHub
+1 -1
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