[commit: ghc] wip/andrey/cached-hadrian: Record contents of the build/lib directory after package configuration (8033e92)

git at git.haskell.org git at git.haskell.org
Sun Feb 10 21:32:00 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/andrey/cached-hadrian
Link       : http://ghc.haskell.org/trac/ghc/changeset/8033e9293011a69c9d22da02228baa7f3db6df9b/ghc

>---------------------------------------------------------------

commit 8033e9293011a69c9d22da02228baa7f3db6df9b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sun Feb 10 15:26:02 2019 +0000

    Record contents of the build/lib directory after package configuration
    
    Part of https://gitlab.haskell.org/ghc/ghc/merge_requests/317.


>---------------------------------------------------------------

8033e9293011a69c9d22da02228baa7f3db6df9b
 hadrian/src/Hadrian/Haskell/Cabal/Parse.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs b/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs
index 7e78aa2..d53aabd 100644
--- a/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs
+++ b/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs
@@ -147,6 +147,7 @@ configurePackage context at Context {..} = do
     dir <- Context.buildPath context
     files <- liftIO $ getDirectoryFilesIO "." [ dir -/- "include" <//> "*"
                                               , dir -/- "*.buildinfo"
+                                              , dir -/- "lib" <//> "*"
                                               , dir -/- "config.*" ]
     produces files
 



More information about the ghc-commits mailing list