mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
use lib.optionalString
This commit is contained in:
parent
75de3397fd
commit
44830dc048
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ rec {
|
|||
--set startScripts "''${vmStartScripts[*]}" \
|
||||
--set testScript "$out/test-script" \
|
||||
--set vlans '${toString vlans}' \
|
||||
${if interactive then "--add-flags --interactive" else ""}
|
||||
${lib.optionalString (interactive) "--add-flags --interactive"}
|
||||
'');
|
||||
|
||||
# Make a full-blown test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue