[commit: ghc] master: Make ghc-boot Hackage-ready (7b8a822)

git at git.haskell.org git at git.haskell.org
Sat Dec 19 18:03:58 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7b8a8222e8f0ac1059b57cfba25294b6d55d1d65/ghc

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

commit 7b8a8222e8f0ac1059b57cfba25294b6d55d1d65
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Dec 19 19:02:15 2015 +0100

    Make ghc-boot Hackage-ready
    
    GHC 7.8 / base-4.7 is the oldest GHC/base version compatible with this
    package, so let's declare this properly in the cabal file.


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

7b8a8222e8f0ac1059b57cfba25294b6d55d1d65
 libraries/ghc-boot/GHC/Serialized.hs |  2 +-
 libraries/ghc-boot/changelog.md      |  5 +++++
 libraries/ghc-boot/ghc-boot.cabal    | 20 +++++++++-----------
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/libraries/ghc-boot/GHC/Serialized.hs b/libraries/ghc-boot/GHC/Serialized.hs
index 39fa6a7..fbb9684 100644
--- a/libraries/ghc-boot/GHC/Serialized.hs
+++ b/libraries/ghc-boot/GHC/Serialized.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, RankNTypes, ScopedTypeVariables #-}
+{-# LANGUAGE RankNTypes, ScopedTypeVariables #-}
 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
 
 --
diff --git a/libraries/ghc-boot/changelog.md b/libraries/ghc-boot/changelog.md
new file mode 100644
index 0000000..f429a84
--- /dev/null
+++ b/libraries/ghc-boot/changelog.md
@@ -0,0 +1,5 @@
+## 0.0.0.0  *Feb 2016*
+
+  * Bundled with GHC 7.10.1
+
+  * Initial version
diff --git a/libraries/ghc-boot/ghc-boot.cabal b/libraries/ghc-boot/ghc-boot.cabal
index 4439153..f9516b6 100644
--- a/libraries/ghc-boot/ghc-boot.cabal
+++ b/libraries/ghc-boot/ghc-boot.cabal
@@ -1,8 +1,10 @@
 name:           ghc-boot
 version:        0.0.0.0
 license:        BSD3
+license-file:   LICENSE
+category:       GHC
 maintainer:     ghc-devs at haskell.org
-bug-reports:    glasgow-haskell-bugs at haskell.org
+bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
 synopsis:       Shared functionality between GHC and its boot libraries
 description:    This library is shared between GHC, ghc-pkg, and other boot
                 libraries.
@@ -18,6 +20,7 @@ description:    This library is shared between GHC, ghc-pkg, and other boot
                 and program do not have to depend on Cabal.
 cabal-version:  >=1.10
 build-type:     Simple
+extra-source-files: changelog.md
 
 source-repository head
     type:     git
@@ -26,12 +29,7 @@ source-repository head
 
 Library
     default-language: Haskell2010
-    other-extensions:
-            GeneralizedNewtypeDeriving
-            RecordWildCards
-            StandaloneDeriving
-            Trustworthy
-            TypeSynonymInstances
+    other-extensions: DeriveGeneric, RankNTypes, ScopedTypeVariables
 
     exposed-modules:
             GHC.Lexeme
@@ -39,9 +37,9 @@ Library
             GHC.LanguageExtensions
             GHC.Serialized
 
-    build-depends: base       >= 4   && < 5,
+    build-depends: base       >= 4.7 && < 4.10,
                    binary     == 0.8.*,
-                   bytestring >= 0.9 && < 1,
-                   directory  >= 1   && < 1.3,
-                   filepath
+                   bytestring == 0.10.*,
+                   directory  == 1.2.*,
+                   filepath   >= 1.3 && < 1.5
 



More information about the ghc-commits mailing list