[Nix-dev] comments on: -r29543 Use ruby 1.9 as the default - renaming files

Peter Simons simons at cryp.to
Mon Oct 3 10:32:40 CEST 2011


Hi Marc,

 > There are two important properties the name can tell about
 >
 > - name
 > - version
 >
 > default.nix tells "I'm the default version", but does no longer tell
 > which version it is
 >
 > 19.nix tells "I'm version 1.9", but does no longer tell that its the
 > default version - so neither is perfect.
 
yes, that is true. 


 > Using sensible names is good habit always. That's why I even proposed
 > default-19.nix (which was kind of joke just to illustrate that both
 > solutions could be accepted).

Yes, indeed, that choice would convey the maximum amount of information.

Take care,
Peter



More information about the nix-dev mailing list