[Nix-dev] Dashes in haskell-packages

Pascal Wittmann PascalWittmann at gmx.net
Tue Oct 8 11:37:32 CEST 2013


On 10/08/2013 11:24 AM, Daniel Hlynskyi wrote:
> Hello. There is a convention to convert haskell packages names to camelCase
> when they contain dashes. But Nix now can dashes.
> So what convention should I use when submitting new haskell packages to
> `nixpkgs`?

The nixpkgs manual says:

"Dashes in the package name should be changed to underscores in variable
names, rather than to camel case — e.g., module_init_tools instead of
moduleInitTools."
	http://nixos.org/nixpkgs/manual/#idp365984

I guess this is still true, even if nix can handle dashes now.


More information about the nix-dev mailing list