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

Ludovic Courtès ludo at gnu.org
Sat Oct 15 18:38:46 CEST 2011


Hi Peter,

>  > 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.

Thanks,
Ludo’.



More information about the nix-dev mailing list