shell test: dummy_secrets=true before populate

This commit is contained in:
tv 2017-07-14 03:45:05 +02:00
parent b3d3c5ff04
commit c113f235cc

View File

@ -19,12 +19,13 @@ let
cmds.test = pkgs.writeDash "cmds.test" /* sh */ '' cmds.test = pkgs.writeDash "cmds.test" /* sh */ ''
set -efu set -efu
export dummy_secrets=true
command=test command=test
. ${init.args} . ${init.args}
\test -n "''${user-}" || user=$LOGNAME \test -n "''${user-}" || user=$LOGNAME
. ${init.env} . ${init.env}
export dummy_secrets=true
exec ${utils.build} config.system.build.toplevel exec ${utils.build} config.system.build.toplevel
''; '';