diff options
Diffstat (limited to 'pkgs/games/default.nix')
-rw-r--r-- | pkgs/games/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/games/default.nix b/pkgs/games/default.nix index d85bd191..27682563 100644 --- a/pkgs/games/default.nix +++ b/pkgs/games/default.nix @@ -1,4 +1,4 @@ -{ configuration ? null }: +{ config ? null, pkgs ? import <nixpkgs> {} }: let configFilePath = let @@ -17,9 +17,10 @@ let } '' else configFilePath; -in ((import <nixpkgs/lib>).evalModules { +in (pkgs.lib.evalModules { modules = [ - (if configuration == null then configFilePath else configuration) + (if config == null then configFilePath else config) ./base-module.nix ./humblebundle ./steam + { config._module.args.pkgs = pkgs; } ]; }).config.packages |