diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-09-13 07:32:20 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-09-13 15:28:23 +0200 |
commit | 96a14a62bfe2ab98320c8c17db88aba1506847e9 (patch) | |
tree | 26c386a75b11eebaeda090362a28e8cd12ea861c | |
parent | 54b4898807b1f2bee72399c45fb044b9af365ec9 (diff) |
pkgs/games: Add build-support for pkgsi686Linux
So far we only had all the functions within build-support for builtins.currentSystem, but a few games we have within Vuizvui are still i686-linux. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | pkgs/games/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/games/default.nix b/pkgs/games/default.nix index 530ac5de..555d6b6e 100644 --- a/pkgs/games/default.nix +++ b/pkgs/games/default.nix @@ -27,11 +27,16 @@ let }; config._module.args.pkgs = let - buildSupport = import ./build-support { - inherit (pkgs) config; - callPackage = lib.callPackageWith (pkgs // buildSupport); - }; - in buildSupport // pkgs; + mkBuildSupport = super: let + self = import ./build-support { + inherit (super) config; + callPackage = lib.callPackageWith (super // self); + }; + in self; + in pkgs // (mkBuildSupport pkgs) // { + pkgsi686Linux = pkgs.pkgsi686Linux + // (mkBuildSupport pkgs.pkgsi686Linux); + }; }; in (pkgs.lib.evalModules { |