3
0
Fork 0
forked from mirrors/nixpkgs

platform.emulator: fix non-x86 systems

This commit is contained in:
Jörg Thalheim 2018-12-11 23:48:27 +00:00
parent c3e967dc35
commit 554851e689
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -98,7 +98,7 @@ rec {
in
if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.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
else if final.isWindows
then "${wine}/bin/${wine-name}"