3
0
Fork 0
forked from mirrors/nixpkgs

fix node packages with binary (native) extensions

This commit is contained in:
Mathijs Kwik 2013-06-06 18:21:49 +02:00
parent 9875413c48
commit b5ba5959cf

View file

@ -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;
} )