Skip to content

Commit 9698a71

Browse files
committed
Stop Stage, which now lives in D.S.T.Stage
1 parent 075b2a6 commit 9698a71

File tree

1 file changed

+1
-4
lines changed
  • cabal-install-solver/src/Distribution/Solver/Modular

1 file changed

+1
-4
lines changed

cabal-install-solver/src/Distribution/Solver/Modular/Package.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import Distribution.Pretty (prettyShow)
2525

2626
import Distribution.Solver.Modular.Version
2727
import Distribution.Solver.Types.PackagePath
28+
import Distribution.Solver.Types.Stage (Stage (..))
2829

2930
-- | A package name.
3031
type PN = PackageName
@@ -50,10 +51,6 @@ type PId = UnitId
5051
data Loc = Inst PId | InRepo
5152
deriving (Eq, Ord, Show)
5253

53-
-- | Stage. A stage in the build process.
54-
data Stage = Build | Host
55-
deriving (Eq, Ord, Show)
56-
5754
showStage :: Stage -> String
5855
showStage Build = "[build]"
5956
showStage Host = "[host ]"

0 commit comments

Comments
 (0)