You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is an issue with the nodejs package, the nodejs-7f package or with nix itself, but in the current version of the unstable channel, nix-env -i nodejs installs the nodejs-7f library and not node itself.
I suspect this has something to do with the 7f library beginning with a number and that number being greater than the existing versions of the nodejs package, the highest of which is currently 0.12.0, however my knowledge of nix internals is nonexistent, so this is pure speculation.
The following terminal transcript illustrates the issue
~ ❯❯❯ nix-channel --list nixpkgs
http://nixos.org/channels/nixpkgs-unstable
~ ❯❯❯ nix-channel --update
downloading Nix expressions from ‘http://nixos.org/releases/nixpkgs/nixpkgs-15.05pre59184.e07ea5c/nixexprs.tar.xz’...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 4826k 100 4826k 0 0 3319k 0 0:00:01 0:00:01 --:--:-- 3321k
unpacking channels...
~ ❯❯❯ nix-env -qaP '.*nodejs.*'
nixos.pkgs.nodejs nodejs-0.10.33
nixos.pkgs.nodejs-unstable nodejs-0.11.13
nixpkgs.nodejs-unstable nodejs-0.11.13
nixpkgs.nodejs nodejs-0.12.0
nixpkgs.nodePackages.7f nodejs-7f-1.1.3
nixpkgs.nodePackages.almond nodejs-almond-0.3.0
nixpkgs.nodePackages.amdefine nodejs-amdefine-0.1.0
nixpkgs.nodePackages.ansi-remover nodejs-ansi-remover-0.0.2
nixpkgs.nodePackages.assert nodejs-assert-1.3.0
***rest of output elided***
~ ❯❯❯ nix-env -i nodejs
installing ‘nodejs-7f-1.1.3’ <-- this is a library, not a version of nodejs
~ ❯❯❯ nix-env -iA nixpkgs.nodejs
replacing old ‘nodejs-7f-1.1.3’
installing ‘nodejs-0.12.0’
building path(s) ‘/nix/store/nyaadw4hn1pcbkmvlp7rz8y34qlxb4mc-user-environment’
created 1512 symlinks in user environment
The text was updated successfully, but these errors were encountered:
Would it make sense to rename it instead? Maybe to lib7f or sevenf? Are there any precedents or guidelines for how to name packages that begin with a number?
I'm not sure if this is an issue with the
nodejs
package, thenodejs-7f
package or withnix
itself, but in the current version of the unstable channel,nix-env -i nodejs
installs thenodejs-7f
library and not node itself.I suspect this has something to do with the
7f
library beginning with a number and that number being greater than the existing versions of the nodejs package, the highest of which is currently 0.12.0, however my knowledge of nix internals is nonexistent, so this is pure speculation.The following terminal transcript illustrates the issue
The text was updated successfully, but these errors were encountered: