buildNpmPackage: remove double dependencies on nodejs+nodejs-slim
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
fetchNpmDeps,
|
||||
buildPackages,
|
||||
nodejs,
|
||||
nodejs-slim,
|
||||
cctools,
|
||||
}@topLevelArgs:
|
||||
|
||||
@@ -102,7 +101,7 @@ lib.extendMkDerivation {
|
||||
(if npmConfigHook != null then npmConfigHook else npmHooks.npmConfigHook)
|
||||
(if npmBuildHook != null then npmBuildHook else npmHooks.npmBuildHook)
|
||||
(if npmInstallHook != null then npmInstallHook else npmHooks.npmInstallHook)
|
||||
nodejs-slim.python
|
||||
nodejs.python
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ];
|
||||
buildInputs = buildInputs ++ [ nodejs ];
|
||||
|
||||
Reference in New Issue
Block a user