fix node packages with binary (native) extensions
This commit is contained in:
parent
9875413c48
commit
b5ba5959cf
@ -33,8 +33,6 @@ stdenv.mkDerivation ({
|
|||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = neededNatives;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/node_modules
|
mkdir -p $out/node_modules
|
||||||
@ -57,5 +55,5 @@ stdenv.mkDerivation ({
|
|||||||
propagatedNativeBuildInputs = (args.propagatedNativeBuildInputs or []) ++ [ nodejs ];
|
propagatedNativeBuildInputs = (args.propagatedNativeBuildInputs or []) ++ [ nodejs ];
|
||||||
|
|
||||||
# Make buildNodePackage useful with --run-env
|
# Make buildNodePackage useful with --run-env
|
||||||
nativeBuildInputs = (args.nativeBuildInputs or []) ++ deps;
|
nativeBuildInputs = (args.nativeBuildInputs or []) ++ deps ++ neededNatives;
|
||||||
} )
|
} )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user