summaryrefslogtreecommitdiffstats
path: root/shell.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-14 03:45:05 +0200
committertv <tv@krebsco.de>2017-07-14 03:45:05 +0200
commit5df8129c6d6910dc311cb73f4add9f4eecf73ce7 (patch)
treeaaad93c9a0bd93f2880c2e124fc0ef158c068c34 /shell.nix
parentbe85b48720ecd66bed306debe43caebae71b4610 (diff)
shell test: dummy_secrets=true before populate
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index f0d949d..8c224a5 100644
--- a/shell.nix
+++ b/shell.nix
@@ -19,12 +19,13 @@ let
cmds.test = pkgs.writeDash "cmds.test" /* sh */ ''
set -efu
+ export dummy_secrets=true
+
command=test
. ${init.args}
\test -n "''${user-}" || user=$LOGNAME
. ${init.env}
- export dummy_secrets=true
exec ${utils.build} config.system.build.toplevel
'';