[Nix-dev] python-x.y.z-wrapper vs python-x.y.z-full

Peter Simons simons at cryp.to
Sun Oct 16 20:07:07 CEST 2011


Hi Ludovic,

 >>> But there are plenty of "-wrapper"s, but only ghc and python use it
 >>> as a suffix _after_ the version. This results in python-2.7.1 being
 >>> "upgraded" to python-2.7.1-wrapper by 'nix-env -u \*'.
 >>
 >> apparently, you consider that a problem? Why is that?
 >
 > Because -u relies on an algorithm similar to that of strverscmp(3) to
 > determine what the newest version of a package is. Consequently, it
 > fails to make a meaningful decision if the last component of the name
 > is not a version number.

yes, I understand the mechanics of version number comparisons, but why do
you think that upgrading from "python-2.7.1" to "python-2.7.1-wrapper" is
wrong?

Take care,
Peter



More information about the nix-dev mailing list