about summary refs log tree commit diff
path: root/humblebundle/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-12-31 15:09:04 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-12-31 15:17:16 +0100
commitdab1530b60f41d964fefff210717a50564e52edf (patch)
treec99d3868ad8a10a8dc1d3de2fa5207e373799d36 /humblebundle/default.nix
parentcf44e8ef6c0d6a5c80290d84df55d8e04c5a0eb8 (diff)
humblebundle: Allow config file for email/passwd.
Rather than passing email and password using --argstr to nix-build, we
now read them from a config file in XDG_CONFIG_HOME (or ~/.config if
unset).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'humblebundle/default.nix')
-rw-r--r--humblebundle/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/humblebundle/default.nix b/humblebundle/default.nix
index 30d341f3..6e733603 100644
--- a/humblebundle/default.nix
+++ b/humblebundle/default.nix
@@ -1,4 +1,4 @@
-{ email, password }:
+{ email ? null, password ? null }:
 
 with import <nixpkgs> {};