[Nix-dev] Re: [Nix-commits] SVN commit: nix - r27904 - in nixpkgs/trunk/pkgs: misc/emulators/VisualBoyAdvance top-level

Yury G. Kudryashov urkud+nix at ya.ru
Mon Jul 25 09:46:48 CEST 2011


Ludovic Courtès wrote:

> Hello!
> 
> Vladimír Čunát <vcunat at gmail.com> skribis:
> 
>> On 24 July 2011 18:11, Sander van der Burg - EWI
>> <S.vanderBurg at tudelft.nl> wrote:
>>> Convenience, hmm... Personally, I find it confusing if the name of this
>>> emulator would be: visual_boy_advance or something like that, while the
>>> package on the internet is named: VisualBoyAdvance . Similarly, a lot of
>>> Java packages use naming conventions like this.
>>
>> I agree on this point - I respect the convention but I find it
>> unnecessary.
> 
> The point of the convention is to honor the principle of least surprise:
> users can blindly type ‘nix-env -i mplayer’ or ‘nix-env -Ai
> visual_boy_advance’ without thinking any further.
I propose the following for 'upstream CamelCase' packages.

VisualBoyAdvance = callPackage ...;
visual_boy_advance = pkgs.VisualBoyAdvance;





More information about the nix-dev mailing list