[commit: ghc] wip/nfs-locking: Fix type error (ffc151c)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:43:52 UTC 2017


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

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

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

commit ffc151c004163822f9e5d131b9556b0c42a3be44
Author: David Luposchainsky <dluposchainsky at gmail.com>
Date:   Wed Jan 6 15:35:22 2016 +0100

    Fix type error


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

ffc151c004163822f9e5d131b9556b0c42a3be44
 src/Rules.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Rules.hs b/src/Rules.hs
index c24b354..fe8242b 100644
--- a/src/Rules.hs
+++ b/src/Rules.hs
@@ -35,6 +35,6 @@ targetsForStage stage = do
 packageRules :: Rules ()
 packageRules = do
     resources <- resourceRules
-    for allStages $ \stage ->
+    for_ allStages $ \stage ->
         for_ knownPackages $ \pkg ->
             buildPackage resources $ PartialTarget stage pkg



More information about the ghc-commits mailing list