From b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Thu, 6 Jun 2013 18:21:49 +0200 Subject: [PATCH] fix node packages with binary (native) extensions --- pkgs/development/web/nodejs/build-node-package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix index d18a85d44ec5..d260b2900160 100644 --- a/pkgs/development/web/nodejs/build-node-package.nix +++ b/pkgs/development/web/nodejs/build-node-package.nix @@ -33,8 +33,6 @@ stdenv.mkDerivation ({ runHook postBuild ''; - nativeBuildInputs = neededNatives; - installPhase = '' runHook preInstall mkdir -p $out/node_modules @@ -57,5 +55,5 @@ stdenv.mkDerivation ({ propagatedNativeBuildInputs = (args.propagatedNativeBuildInputs or []) ++ [ nodejs ]; # Make buildNodePackage useful with --run-env - nativeBuildInputs = (args.nativeBuildInputs or []) ++ deps; + nativeBuildInputs = (args.nativeBuildInputs or []) ++ deps ++ neededNatives; } )