1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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] ad20a4a1c3
This commit is contained in:
Mario Rodas 2018-07-12 19:10:01 -05:00 committed by Robert Helgesson
parent f4a1a5e94c
commit 092706eff8
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -144,7 +144,7 @@ in
config = {
_module.args = {
pkgs = _pkgs;
pkgs_i686 = _pkgs.pkgsi686Linux;
pkgs_i686 = if _pkgs.stdenv.isLinux then _pkgs.pkgsi686Linux else {};
};
};
}