We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Stage
1 parent 075b2a6 commit 9698a71Copy full SHA for 9698a71
cabal-install-solver/src/Distribution/Solver/Modular/Package.hs
@@ -25,6 +25,7 @@ import Distribution.Pretty (prettyShow)
25
26
import Distribution.Solver.Modular.Version
27
import Distribution.Solver.Types.PackagePath
28
+import Distribution.Solver.Types.Stage (Stage (..))
29
30
-- | A package name.
31
type PN = PackageName
@@ -50,10 +51,6 @@ type PId = UnitId
50
51
data Loc = Inst PId | InRepo
52
deriving (Eq, Ord, Show)
53
--- | Stage. A stage in the build process.
54
-data Stage = Build | Host
55
- deriving (Eq, Ord, Show)
56
-
57
showStage :: Stage -> String
58
showStage Build = "[build]"
59
showStage Host = "[host ]"
0 commit comments