fix attrs printing

This commit is contained in:
Valentin Gagarin 2024-11-05 22:31:46 +01:00
parent a98a8e7985
commit 5729f31be1

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)
); );