buildNpmPackages: add missing deependencies

authored by

midchildan and committed by
Yt
79459354 c757e9bd

+10 -2
+10 -2
pkgs/build-support/node/build-npm-package/default.nix
··· 1 - { lib, stdenv, fetchNpmDeps, buildPackages, nodejs } @ topLevelArgs: 1 + { lib 2 + , stdenv 3 + , fetchNpmDeps 4 + , buildPackages 5 + , nodejs 6 + , darwin 7 + } @ topLevelArgs: 2 8 3 9 { name ? "${args.pname}-${args.version}" 4 10 , src ? null ··· 54 60 stdenv.mkDerivation (args // { 55 61 inherit npmDeps npmBuildScript; 56 62 57 - nativeBuildInputs = nativeBuildInputs ++ [ nodejs npmConfigHook npmBuildHook npmInstallHook ]; 63 + nativeBuildInputs = nativeBuildInputs 64 + ++ [ nodejs npmConfigHook npmBuildHook npmInstallHook nodejs.python ] 65 + ++ lib.optionals stdenv.isDarwin [ darwin.cctools ]; 58 66 buildInputs = buildInputs ++ [ nodejs ]; 59 67 60 68 strictDeps = true;