Integers must be converted to strings, of course
svn path=/nixos/trunk/; revision=25274
This commit is contained in:
parent
c65c03099f
commit
6ba45109a1
@ -132,7 +132,7 @@ in
|
|||||||
let infrastructureAttrValue = getAttr infrastructureAttrName (cfg.infrastructure);
|
let infrastructureAttrValue = getAttr infrastructureAttrName (cfg.infrastructure);
|
||||||
in
|
in
|
||||||
if builtins.isInt infrastructureAttrValue then
|
if builtins.isInt infrastructureAttrValue then
|
||||||
''${infrastructureAttrName}=${infrastructureAttrValue} \
|
''${infrastructureAttrName}=${toString infrastructureAttrValue} \
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
''${infrastructureAttrName}=\"${infrastructureAttrValue}\" \
|
''${infrastructureAttrName}=\"${infrastructureAttrValue}\" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user