[Nix-dev] Why is nodejs-7f considered an upgrade to nodejs?

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Apr 28 20:19:31 CEST 2015


Hi,

On 28/04/15 19:04, Richard Wallace wrote:

> I keep running into this issue whenever I run `nix-env --upgrade` that nix-env
> thinks that nodePackages.7f is an upgrade to nodejs.  Consequently, I have to
> force a "downgrade" to the nodejs package after every upgrade.  Is there a way
> to avoid this?

No, that package should be renamed. "7f" is interpreted by nix-env as a version
because it starts with a digit. Starting an attribute name with a digit is not a
good idea either.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list