Skip to content

Commit

Permalink
Hide nodePackages from nix-env
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
edolstra committed Jan 7, 2014
1 parent 0d54426 commit 2f11bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };

0 comments on commit 2f11bc4

Please sign in to comment.