use lib.optionalString
This commit is contained in:
parent
75de3397fd
commit
44830dc048
|
@ -141,7 +141,7 @@ rec {
|
||||||
--set startScripts "''${vmStartScripts[*]}" \
|
--set startScripts "''${vmStartScripts[*]}" \
|
||||||
--set testScript "$out/test-script" \
|
--set testScript "$out/test-script" \
|
||||||
--set vlans '${toString vlans}' \
|
--set vlans '${toString vlans}' \
|
||||||
${if interactive then "--add-flags --interactive" else ""}
|
${lib.optionalString (interactive) "--add-flags --interactive"}
|
||||||
'');
|
'');
|
||||||
|
|
||||||
# Make a full-blown test
|
# Make a full-blown test
|
||||||
|
|
Loading…
Reference in a new issue