summary refs log tree commit diff
path: root/lib/systems/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-12-11 23:48:27 +0000
committerJörg Thalheim <joerg@thalheim.io>2018-12-12 08:00:07 +0000
commit554851e689245b04e79dd0371465d13cdf057a0f (patch)
tree81f6a2928622385b09eb6da0da45f4b10fbda693 /lib/systems/default.nix
parentc3e967dc35df430bfe07a2df1be5af1d4ac7a389 (diff)
downloadnixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar.gz
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar.bz2
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar.lz
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar.xz
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.tar.zst
nixpkgs-554851e689245b04e79dd0371465d13cdf057a0f.zip
platform.emulator: fix non-x86 systems
Diffstat (limited to 'lib/systems/default.nix')
-rw-r--r--lib/systems/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 25df5e17406..9b25052ab88 100644
--- a/lib/systems/default.nix
+++ b/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}"