[commit: ghc] wip/nfs-locking: Add missing dependency of hsc2hs on template-hsc.h (fdd223e)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 01:27:17 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/fdd223e91e2d5226bc6f589e3a17808b5b8eef6a/ghc
>---------------------------------------------------------------
commit fdd223e91e2d5226bc6f589e3a17808b5b8eef6a
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Thu Sep 14 12:54:59 2017 +0100
Add missing dependency of hsc2hs on template-hsc.h
>---------------------------------------------------------------
fdd223e91e2d5226bc6f589e3a17808b5b8eef6a
src/Builder.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Builder.hs b/src/Builder.hs
index d70ecab..2e8aca1 100644
--- a/src/Builder.hs
+++ b/src/Builder.hs
@@ -124,6 +124,8 @@ instance H.Builder Builder where
needBuilder :: Builder -> Action ()
needBuilder (Configure dir) = need [dir -/- "configure"]
+ needBuilder Hsc2Hs = do path <- H.builderPath Hsc2Hs
+ need [path, templateHscPath]
needBuilder (Make dir) = need [dir -/- "Makefile"]
needBuilder builder = when (isJust $ builderProvenance builder) $ do
path <- H.builderPath builder
More information about the ghc-commits
mailing list