about summary refs log tree commit diff
path: root/pkgs/development/web
diff options
context:
space:
mode:
authorMathijs Kwik <mathijs@bluescreen303.nl>2013-06-06 18:21:49 +0200
committerMathijs Kwik <mathijs@bluescreen303.nl>2013-06-06 22:38:24 +0200
commitb5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d (patch)
tree4b765c9b2ad4f1a3d8e8e8353f48fbbb9eea21ba /pkgs/development/web
parent9875413c488651d46bc4aa4eb22c5b1a1f799109 (diff)
downloadnixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar.gz
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar.bz2
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar.lz
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar.xz
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.tar.zst
nixlib-b5ba5959cfc4a292b03c9ab3d2acba0a0b940d6d.zip
fix node packages with binary (native) extensions
Diffstat (limited to 'pkgs/development/web')
-rw-r--r--pkgs/development/web/nodejs/build-node-package.nix4
1 files changed, 1 insertions, 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;
 } )