From 092706eff85aa4501994016375693320ef9d2e7b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 12 Jul 2018 19:10:01 -0500 Subject: [PATCH] nixpkgs: only pass pkgs_i686 argument on Linux Nixpkgs added an assertion on pkgsi686Linux [1] to avoid evaluating it pkgsi686Linux on non-Linux systems. [1] https://github.com/nixos/nixpkgs/commit/ad20a4a1c328967c7e4abe211f3dd63bb68bf966 --- modules/misc/nixpkgs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/misc/nixpkgs.nix b/modules/misc/nixpkgs.nix index f51588f9..287a74b2 100644 --- a/modules/misc/nixpkgs.nix +++ b/modules/misc/nixpkgs.nix @@ -144,7 +144,7 @@ in config = { _module.args = { pkgs = _pkgs; - pkgs_i686 = _pkgs.pkgsi686Linux; + pkgs_i686 = if _pkgs.stdenv.isLinux then _pkgs.pkgsi686Linux else {}; }; }; }