diff options
author | aszlig <aszlig@nix.build> | 2017-11-20 19:41:43 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2017-11-21 07:44:48 +0100 |
commit | d7fe5d2fa0909f8cf59fc7cc54dda00fe38a28a6 (patch) | |
tree | e0b562ca720d562169d3d4b64d1635adc546f3ac /pkgs | |
parent | 107f6d646622024ac244e939651cfda02eefec59 (diff) |
pkgs/games: Display error if config is omitted
This originally was in the nixgames repository but I accidentally omitted the attribute emitting the error message during refactoring. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/default.nix b/pkgs/games/default.nix index f920089d..dd97148d 100644 --- a/pkgs/games/default.nix +++ b/pkgs/games/default.nix @@ -9,7 +9,7 @@ let configFile = if !builtins.pathExists configFilePath then throw '' The config file "${configFilePath}" doesn't exist! Be sure to create it and - put your HumbleBundle email address and password in it, like this: + put your credentials in it, for example to use HumbleBundle games: { humblebundle.email = "fancyuser@example.com"; @@ -41,7 +41,7 @@ let packages = (pkgs.lib.evalModules { modules = [ - (if config == null then configFilePath else config) + (if config == null then configFile else config) baseModule ./humblebundle ./steam ./itch ]; }).config.packages; |