diff --git a/modules/misc/nixpkgs.nix b/modules/misc/nixpkgs.nix index 287a74b2..150cbe74 100644 --- a/modules/misc/nixpkgs.nix +++ b/modules/misc/nixpkgs.nix @@ -144,7 +144,10 @@ in config = { _module.args = { pkgs = _pkgs; - pkgs_i686 = if _pkgs.stdenv.isLinux then _pkgs.pkgsi686Linux else {}; + pkgs_i686 = + if _pkgs.stdenv.isLinux && _pkgs.stdenv.hostPlatform.isx86 + then _pkgs.pkgsi686Linux + else { }; }; }; }