about summary refs log tree commit diff
path: root/pkgs/games/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/default.nix')
-rw-r--r--pkgs/games/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/games/default.nix b/pkgs/games/default.nix
index cef568cf..b775610d 100644
--- a/pkgs/games/default.nix
+++ b/pkgs/games/default.nix
@@ -25,12 +25,17 @@ let
         description = "Available collections of games.";
       };
     };
+
+    config._module.args.pkgs = let
+      buildSupport = import ./build-support {
+        callPackage = lib.callPackageWith (pkgs // buildSupport);
+      };
+    in buildSupport // pkgs;
   };
 
 in (pkgs.lib.evalModules {
   modules = [
     (if config == null then configFilePath else config)
     baseModule ./humblebundle ./steam ./itch
-    { config._module.args.pkgs = pkgs; }
   ];
 }).config.packages