[commit: ghc] wip/nfs-locking: Make .cabal meta-data more accurate (f9e5109)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:44:17 UTC 2017


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

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

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

commit f9e510913956bc01201ad74bab60767794424034
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Jan 24 10:07:01 2016 +0100

    Make .cabal meta-data more accurate
    
    We need this so cabal (this is even more important with the upcoming
    nix-style cabal features) can do a proper job so this is a pre-requisite
    for the new build-system being used by default for GHC anyway, as we
    need to be as accurate as possible with the build specification to give
    `git bisect` a chance of remaining usable.


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

f9e510913956bc01201ad74bab60767794424034
 shaking-up-ghc.cabal | 32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

diff --git a/shaking-up-ghc.cabal b/shaking-up-ghc.cabal
index cdd512a..674d6f0 100644
--- a/shaking-up-ghc.cabal
+++ b/shaking-up-ghc.cabal
@@ -107,26 +107,24 @@ executable ghc-shake
                        , Test
                        , Way
 
-    default-extensions:  BangPatterns
-                       , LambdaCase
-                       , MultiWayIf
-                       , TupleSections
+    default-language:    Haskell2010
     other-extensions:    DeriveDataTypeable
                        , DeriveGeneric
                        , FlexibleInstances
+                       , GeneralizedNewtypeDeriving
+                       , LambdaCase
                        , OverloadedStrings
                        , RecordWildCards
                        , ScopedTypeVariables
-    build-depends:       base
-                       , ansi-terminal >= 0.6
-                       , Cabal >= 1.22
-                       , containers >= 0.5
-                       , directory >= 1.2
-                       , extra >= 1.4
-                       , mtl >= 2.2
-                       , QuickCheck >= 2.6
-                       , shake >= 0.15
-                       , transformers >= 0.4
-                       , unordered-containers >= 0.2
-    default-language:    Haskell2010
-    ghc-options:         -Wall -fno-warn-name-shadowing -rtsopts -with-rtsopts=-I0 -j
+    build-depends:       base >= 4.8 && < 5
+                       , ansi-terminal        == 0.6.*
+                       , Cabal                == 1.22.*
+                       , containers           == 0.5.*
+                       , directory            == 1.2.*
+                       , extra                == 1.4.*
+                       , mtl                  == 2.2.*
+                       , QuickCheck           >= 2.6 && < 2.9
+                       , shake                == 0.15.*
+                       , transformers         >= 0.4 && < 0.6
+                       , unordered-containers == 0.2.*
+    ghc-options:         -Wall -fno-warn-name-shadowing -rtsopts -with-rtsopts=-I0



More information about the ghc-commits mailing list