1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

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