lib(util): toEnvValue converts list into the format '[A;B;C]'
This commit is contained in:
parent
73aed13f87
commit
647d73908b
1 changed files with 4 additions and 1 deletions
|
@ -20,5 +20,8 @@
|
|||
in _accessValueOfFragment attrs fragment
|
||||
;
|
||||
|
||||
toEnvValue = value: if builtins.isBool value then (if value then "true" else "false") else value;
|
||||
toEnvValue = value: with builtins;
|
||||
if isBool value then (if value then "true" else "false")
|
||||
else if isList value then "[${concatStringSep ";" value}]"
|
||||
else value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue