mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
nixpkgs: fix installation on non-x86
On non-x86 architectures (for example, aarch64) the installation of home-manager fails indicating that it is attempting to select i686 packages for Linux and those aren't available. Solution: make the condition for choosing these packages stricter
This commit is contained in:
parent
45cadbd4f3
commit
2410bc603b
1 changed files with 4 additions and 1 deletions
|
@ -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 { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue