From b50a48a64432da07d437e43611bdc252e53b5d4a Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 27 Jul 2018 18:22:59 +0200 Subject: [PATCH] Use all transitive imports during build --- snack-lib/build.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snack-lib/build.nix b/snack-lib/build.nix index 84aefcb..c054ed5 100644 --- a/snack-lib/build.nix +++ b/snack-lib/build.nix @@ -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 =