platform.emulator: fix non-x86 systems

wip/yesman
Jörg Thalheim 6 years ago
parent c3e967dc35
commit 554851e689
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
  1. 2
      lib/systems/default.nix

@ -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}"

Loading…
Cancel
Save