From 4d8f73a65430acd1c32fc2912cc8d727bbc6c15d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 12 Jan 2015 10:04:38 +0100 Subject: [PATCH] Use callPackage for nodePackages, to allow easier overriding of node-packages set. (cherry picked from commit 65a89fcce7ec021838dac824fce9908b6dcd794a) --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b9e75e0421c8..71ceb466d267 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;