[commit: ghc] wip/nfs-locking: Add build/autogen/Paths_library.hs to ghc-cabal results. (3bbb9fb)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 22:59:59 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/3bbb9fba477a7c84e2e615712a12046fda14d8b9/ghc

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

commit 3bbb9fba477a7c84e2e615712a12046fda14d8b9
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Dec 29 21:51:22 2014 +0000

    Add build/autogen/Paths_library.hs to ghc-cabal results.


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

3bbb9fba477a7c84e2e615712a12046fda14d8b9
 src/Package.hs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Package.hs b/src/Package.hs
index 8d7311b..f5eae9b 100644
--- a/src/Package.hs
+++ b/src/Package.hs
@@ -120,7 +120,8 @@ buildPackageData pkg @ (Package name path todo) (stage, dist, settings) =
           "haddock-prologue.txt",
           "inplace-pkg-config",
           "setup-config",
-          "build" </> "autogen" </> "cabal_macros.h"
+          "build" </> "autogen" </> "cabal_macros.h",
+          "build" </> "autogen" </> ("Paths_" ++ name) <.> "hs" -- TODO: Is this needed? What's up with Paths_cpsa.hs?
         ] &%> \_ -> do
             need [path </> name <.> "cabal"]
             when (doesFileExist $ path </> "configure.ac") $ need [path </> "configure"]



More information about the ghc-commits mailing list