fix attrs printing

This commit is contained in:
Valentin Gagarin 2024-11-05 22:31:46 +01:00
parent c3c68f88d6
commit 08fb421413

View file

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