![]() The Nix style guide isn't exactly comprehensive, but this at least seems slightly closer to the examples: https://nixos.org/manual/nixpkgs/stable/#sec-syntax I'm annoyed that nixpkgs-fmt as of writing won't accept: COPTS = [ # ... ] ++ optional (...) "..." ++ optional (...) "..."; ...which seems to be the actual convention, looking at eg. pkgs.nginx. |
||
---|---|---|
.. | ||
0001-include-stdint.h.patch | ||
0002-dont-use-host-BUFSIZ.patch | ||
default.nix |