Use callPackage for nodePackages, to allow easier overriding of node-packages set.
(cherry picked from commit 65a89fcce7ec021838dac824fce9908b6dcd794a)
This commit is contained in:
parent
96fd899fea
commit
4d8f73a654
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue