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:
parent
9875413c48
commit
b5ba5959cf
|
@ -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;
|
||||
} )
|
||||
|
|
Loading…
Reference in a new issue