[Nix-dev] package-darcs package-svn package-v.v.v ?

Eelco Dolstra eelco at cs.uu.nl
Wed Aug 15 20:12:31 CEST 2007


Andres Loeh wrote:
>> A nice feature would be the ability to define your own ordering.  This would
>> allow packages to be renamed.  For instance, yesterday I found out that the
>> "docbook5-xsl" package should really be named "docbook-xsl-ns".  So you could
>> like to have a rule like "docbook5-xsl" < "docbook-xsl-ns" so that nix-env will
>> upgrade the former to the latter.
> 
> This would be really cool, especially if a user could extend or
> configure the ordering. Is the current partial order specified
> in the Nix language itself, or is it "hardcoded"?

It's hardcoded (in src/nix-env/names.cc).

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list