diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-12-11 23:48:27 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-12-12 08:00:07 +0000 |
commit | 554851e689245b04e79dd0371465d13cdf057a0f (patch) | |
tree | 81f6a2928622385b09eb6da0da45f4b10fbda693 /lib/systems/default.nix | |
parent | c3e967dc35df430bfe07a2df1be5af1d4ac7a389 (diff) | |
download | nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar.gz nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar.bz2 nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar.lz nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar.xz nixlib-554851e689245b04e79dd0371465d13cdf057a0f.tar.zst nixlib-554851e689245b04e79dd0371465d13cdf057a0f.zip |
platform.emulator: fix non-x86 systems
Diffstat (limited to 'lib/systems/default.nix')
-rw-r--r-- | lib/systems/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 25df5e174069..9b25052ab88d 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}" |