fix attrs printing

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00
parent c9bdbfcb15
commit 069c758dd5

View file

@ -136,7 +136,7 @@ let
if isBool value then if isBool value then
if value then name else "" if value then name else ""
# TODO: some attributes must be explicitly empty # TODO: some attributes must be explicitly empty
else optionalString (toString value != "") ''${name}=${value}'' else optionalString (toString value != "") ''${name}="${toString value}"''
) )
attrs) attrs)
); );