Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8424eb5e
Commit
8424eb5e
authored
Feb 03, 2016
by
Andrey Mokhov
Browse files
Drop registerPackage predicate.
See
#200
.
parent
c3fc983e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Predicates.hs
View file @
8424eb5e
-- | 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment