Hi,

On 08/10/13 11:37, Pascal Wittmann wrote:

> 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

This is outdated, I'll fix it.  In fact, you should use dashes for new packages
so that the attribute name matches the package name (e.g. module-init-tools).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to