1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +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:
Eelco Dolstra 2014-01-07 13:37:51 +01:00
parent 0d54426794
commit 2f11bc495b

View file

@ -1237,11 +1237,11 @@ let
nodejs = callPackage ../development/web/nodejs {};
nodePackages = recurseIntoAttrs (import ./node-packages.nix {
nodePackages = import ./node-packages.nix {
inherit pkgs stdenv nodejs fetchurl fetchgit;
neededNatives = [python] ++ lib.optional (lib.elem system lib.platforms.linux) utillinux;
self = pkgs.nodePackages;
});
};
ldapvi = callPackage ../tools/misc/ldapvi { };