fix: indexers: respect more parameters

- inject
- packageOverrides
- sourceOverrides
This commit is contained in:
DavHau 2022-07-29 17:06:00 +02:00
parent 5ddce49dce
commit ab7edc4296
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -39,7 +39,12 @@ in rec {
dreamLocks = findDreamLocks tree;
makePackagesForDreamLock = dreamLock:
(dream2nixInterface.makeOutputsForDreamLock {
inherit dreamLock;
inherit
dreamLock
inject
packageOverrides
sourceOverrides
;
})
.packages;
in