From d7fe5d2fa0909f8cf59fc7cc54dda00fe38a28a6 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 20 Nov 2017 19:41:43 +0100 Subject: 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 --- pkgs/games/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games/default.nix') 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; -- cgit 1.4.1