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
commitc113f235ccfe62c992bf28692b999020c92ef275 (patch)
tree684737b948ae10f6c4db65698f9ab534f71ce570 /shell.nix
parentb3d3c5ff04c51350389b0fd74239e0069f9c7267 (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 f0d949da..8c224a5f 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
'';