1
1
mirror of https://github.com/nmattia/snack.git synced 2024-11-28 12:27:41 +03:00

Use all transitive imports during build

This commit is contained in:
Nicolas Mattia 2018-07-27 18:22:59 +02:00
parent 50b48ed135
commit b50a48a644

View File

@ -74,7 +74,7 @@ rec {
ghcOpts = modSpec.moduleGhcOpts ++ (map (x: "-X${x}") exts);
ghcOptsArgs = lib.strings.escapeShellArgs ghcOpts;
objectName = modSpec.moduleName;
builtDeps = map (buildModule ghcWith) modSpec.moduleImports;
builtDeps = map (buildModule ghcWith) (allTransitiveImports [modSpec]);
depsDirs = map (x: x + "/") builtDeps;
base = modSpec.moduleBase;
makeSymtree =