From ab7edc429618cb2108a21911227bd483f6b19e27 Mon Sep 17 00:00:00 2001 From: DavHau Date: Fri, 29 Jul 2022 17:06:00 +0200 Subject: [PATCH] fix: indexers: respect more parameters - inject - packageOverrides - sourceOverrides --- src/subsystems/nodejs/translators/package-json/default.nix | 2 ++ src/utils/index.nix | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/subsystems/nodejs/translators/package-json/default.nix b/src/subsystems/nodejs/translators/package-json/default.nix index adfd8979..2e1cbfa5 100644 --- a/src/subsystems/nodejs/translators/package-json/default.nix +++ b/src/subsystems/nodejs/translators/package-json/default.nix @@ -60,6 +60,8 @@ : fi + echo "translating in temp dir: $(pwd)" + if [ "$hasInstallScript" == "false" ]; then echo "package.json does not define an [pre|post]install script -> omitting dev dependencies" fi diff --git a/src/utils/index.nix b/src/utils/index.nix index 63ba702b..66e08835 100644 --- a/src/utils/index.nix +++ b/src/utils/index.nix @@ -39,7 +39,12 @@ in rec { dreamLocks = findDreamLocks tree; makePackagesForDreamLock = dreamLock: (dream2nixInterface.makeOutputsForDreamLock { - inherit dreamLock; + inherit + dreamLock + inject + packageOverrides + sourceOverrides + ; }) .packages; in