Minor clean-up to ghc-bin.cabal.in
authorHerbert Valerio Riedel <hvr@gnu.org>
Mon, 21 Dec 2015 13:38:27 +0000 (14:38 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Mon, 21 Dec 2015 13:38:27 +0000 (14:38 +0100)
This has been factored out of D1673

ghc/ghc-bin.cabal.in

index 885e587..dc303e5 100644 (file)
@@ -33,12 +33,13 @@ Executable ghc
                    directory  >= 1   && < 1.3,
                    process    >= 1   && < 1.5,
                    filepath   >= 1   && < 1.5,
-                   ghc-boot,
+                   ghc-boot   == 0.0.*,
                    ghc
+
     if os(windows)
-        Build-Depends: Win32
+        Build-Depends: Win32  == 2.3.*
     else
-        Build-Depends: unix
+        Build-Depends: unix   == 2.7.*
 
     C-Sources: hschooks.c
 
@@ -46,10 +47,12 @@ Executable ghc
     if flag(ghci)
         -- NB: this is never built by the bootstrapping GHC+libraries
         Build-depends:
+            containers     == 0.5.*,
+            deepseq        == 1.4.*,
             ghci,
-            containers == 0.5.*,
-            deepseq    == 1.4.*,
-            time       == 1.6.*
+            haskeline      == 0.7.*,
+            time           == 1.6.*,
+            transformers   == 0.5.*
         CPP-Options: -DGHCI
         GHC-Options: -fno-warn-name-shadowing
         Other-Modules:
@@ -57,7 +60,6 @@ Executable ghc
             GhciMonad
             GhciTags
             InteractiveUI
-        Build-Depends: transformers, haskeline
         Other-Extensions:
             BangPatterns
             FlexibleInstances