Use callPackage for nodePackages, to allow easier overriding of node-packages set.

(cherry picked from commit 65a89fcce7ec021838dac824fce9908b6dcd794a)
This commit is contained in:
Rob Vermaas
2015-01-12 10:05:05 +01:00
parent 96fd899fea
commit 4d8f73a654
+1 -1
View File
@@ -1635,7 +1635,7 @@ let
nodejs = callPackage ../development/web/nodejs { };
nodejs-unstable = callPackage ../development/web/nodejs { unstableVersion = true; };
nodePackages = recurseIntoAttrs (import ./node-packages.nix {
nodePackages = recurseIntoAttrs (callPackage ./node-packages.nix {
inherit pkgs stdenv nodejs fetchurl fetchgit;
neededNatives = [python] ++ lib.optional (lib.elem system lib.platforms.linux) utillinux;
self = pkgs.nodePackages;