Commit 03ebefdf authored by Andrey Mokhov's avatar Andrey Mokhov

Register the access to the package database when compiling with GHC

parent dffda59a
......@@ -17,7 +17,7 @@ compilePackage rs context@Context {..} = do
src <- obj2src context obj
need [src]
needDependencies context src $ obj <.> "d"
build $ target context (compiler stage) [src] [obj]
buildWithResources rs $ target context (compiler stage) [src] [obj]
compileHs = \[obj, _hi] -> do
path <- buildPath context
(src, deps) <- lookupDependencies (path -/- ".dependencies") obj
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment