mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Hide nodePackages from nix-env
Many nodePackages have identical names as "normal" packages (e.g., swig, redis, tar) which is obviously bad. So don't make nix-env recursive into nodePackages. A better solution would be to have node packages have a "node-" prefix, similar to Perl and Python packages.
This commit is contained in:
parent
0d54426794
commit
2f11bc495b
|
@ -1237,11 +1237,11 @@ let
|
||||||
|
|
||||||
nodejs = callPackage ../development/web/nodejs {};
|
nodejs = callPackage ../development/web/nodejs {};
|
||||||
|
|
||||||
nodePackages = recurseIntoAttrs (import ./node-packages.nix {
|
nodePackages = import ./node-packages.nix {
|
||||||
inherit pkgs stdenv nodejs fetchurl fetchgit;
|
inherit pkgs stdenv nodejs fetchurl fetchgit;
|
||||||
neededNatives = [python] ++ lib.optional (lib.elem system lib.platforms.linux) utillinux;
|
neededNatives = [python] ++ lib.optional (lib.elem system lib.platforms.linux) utillinux;
|
||||||
self = pkgs.nodePackages;
|
self = pkgs.nodePackages;
|
||||||
});
|
};
|
||||||
|
|
||||||
ldapvi = callPackage ../tools/misc/ldapvi { };
|
ldapvi = callPackage ../tools/misc/ldapvi { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue