Hello,

often I hit the problem of wanting a string in a newline in some case, else
no string. Something like:
''
  blabla

  ${if x then "xxx" else "yyy"}

  ${if z then "zzz" else "yyy"}

  blublu
''

I don't like the result having two void lines. A nice example of what I don't
want you can find at the upstart jobs. :)
Have you thought of a comfortable nix source that looks simple both in source
and result?

Thank you,
Lluís.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to