Integers must be converted to strings, of course

svn path=/nixos/trunk/; revision=25274
wip/yesman
Sander van der Burg 14 years ago
parent c65c03099f
commit 6ba45109a1
  1. 2
      modules/services/misc/disnix.nix

@ -132,7 +132,7 @@ in
let infrastructureAttrValue = getAttr infrastructureAttrName (cfg.infrastructure);
in
if builtins.isInt infrastructureAttrValue then
''${infrastructureAttrName}=${infrastructureAttrValue} \
''${infrastructureAttrName}=${toString infrastructureAttrValue} \
''
else
''${infrastructureAttrName}=\"${infrastructureAttrValue}\" \

Loading…
Cancel
Save