platform.emulator: fix non-x86 systems
This commit is contained in:
parent
c3e967dc35
commit
554851e689
|
@ -98,7 +98,7 @@ rec {
|
||||||
in
|
in
|
||||||
if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.name &&
|
if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.name &&
|
||||||
(final.parsed.cpu.name == pkgs.stdenv.hostPlatform.parsed.cpu.name ||
|
(final.parsed.cpu.name == pkgs.stdenv.hostPlatform.parsed.cpu.name ||
|
||||||
(final.platform.isi686 && pkgs.stdenv.hostPlatform.isx86_64))
|
(final.isi686 && pkgs.stdenv.hostPlatform.isx86_64))
|
||||||
then pkgs.runtimeShell
|
then pkgs.runtimeShell
|
||||||
else if final.isWindows
|
else if final.isWindows
|
||||||
then "${wine}/bin/${wine-name}"
|
then "${wine}/bin/${wine-name}"
|
||||||
|
|
Loading…
Reference in a new issue