[commit: ghc] wip/nfs-locking: Drop registerPackage predicate. (8424eb5)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:46:32 UTC 2017


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

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

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

commit 8424eb5e1b4a462c4a04f499c4f08cee65585fed
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Feb 3 00:36:29 2016 +0000

    Drop registerPackage predicate.
    
    See #200.


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

8424eb5e1b4a462c4a04f499c4f08cee65585fed
 src/Predicates.hs | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/Predicates.hs b/src/Predicates.hs
index 1e56993..c0f6095 100644
--- a/src/Predicates.hs
+++ b/src/Predicates.hs
@@ -1,7 +1,7 @@
 -- | Convenient predicates
 module Predicates (
     stage, package, builder, stagedBuilder, builderGcc, builderGhc, file, way,
-    stage0, stage1, stage2, notStage0, notPackage, registerPackage
+    stage0, stage1, stage2, notStage0, notPackage
     ) where
 
 import Base
@@ -60,9 +60,3 @@ notStage0 = notM stage0
 -- | Is a certain package /not/ built right now?
 notPackage :: Package -> Predicate
 notPackage = notM . package
-
--- TODO: Actually, we don't register compiler in some circumstances -- fix.
--- | Do we need to run @ghc-pkg update@ on the currently built package?
--- See "Rules.Data".
-registerPackage :: Predicate
-registerPackage = return True



More information about the ghc-commits mailing list