summaryrefslogtreecommitdiff
path: root/libraries/base/base.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/base.cabal')
-rw-r--r--libraries/base/base.cabal35
1 files changed, 25 insertions, 10 deletions
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index 9429de05c3..f02ff0827c 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -1,18 +1,19 @@
+cabal-version: 2.1
name: base
-version: 4.10.0.0
+version: 4.12.0.0
-- NOTE: Don't forget to update ./changelog.md
-license: BSD3
+
+license: BSD-3-Clause
license-file: LICENSE
maintainer: libraries@haskell.org
bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries/base
synopsis: Basic libraries
category: Prelude
+build-type: Configure
description:
- This package contains the "Prelude" and its support libraries,
+ This package contains the Standard Haskell "Prelude" and its support libraries,
and a large collection of useful libraries ranging from data
structures to parsing combinators and debugging utilities.
-cabal-version: >=1.10
-build-type: Configure
extra-tmp-files:
autom4te.cache
@@ -35,6 +36,7 @@ extra-source-files:
include/HsBaseConfig.h.in
include/ieee-flpt.h
include/md5.h
+ include/fs.h
install-sh
source-repository head
@@ -93,17 +95,17 @@ Library
UnliftedFFITypes
Unsafe
- build-depends: rts == 1.0.*, ghc-prim == 0.5.*
+ build-depends: rts == 1.0, ghc-prim ^>= 0.5.1.0
-- sanity-check to ensure exactly one flag is set
if !((flag(integer-gmp) && !flag(integer-simple)) || (!flag(integer-gmp) && flag(integer-simple)))
build-depends: invalid-cabal-flag-settings<0
if flag(integer-simple)
- build-depends: integer-simple >= 0.1.1 && < 0.2
+ build-depends: integer-simple ^>= 0.1.1
if flag(integer-gmp)
- build-depends: integer-gmp >= 1.0 && < 1.1
+ build-depends: integer-gmp ^>= 1.0.1
cpp-options: -DOPTIMISE_INTEGER_GCD_LCM
exposed-modules:
@@ -147,6 +149,7 @@ Library
Data.Function
Data.Functor
Data.Functor.Classes
+ Data.Functor.Contravariant
Data.Functor.Compose
Data.Functor.Const
Data.Functor.Identity
@@ -204,6 +207,7 @@ Library
GHC.Base
GHC.ByteOrder
GHC.Char
+ GHC.Clock
GHC.Conc
GHC.Conc.IO
GHC.Conc.Signal
@@ -215,6 +219,7 @@ Library
GHC.Environment
GHC.Err
GHC.Exception
+ GHC.Exception.Type
GHC.ExecutionStack
GHC.ExecutionStack.Internal
GHC.Exts
@@ -254,24 +259,26 @@ Library
GHC.IORef
GHC.Int
GHC.List
+ GHC.Maybe
GHC.MVar
GHC.Natural
GHC.Num
GHC.OldList
GHC.OverloadedLabels
- GHC.PArr
GHC.Pack
GHC.Profiling
GHC.Ptr
GHC.Read
GHC.Real
GHC.Records
+ GHC.ResponseFile
GHC.RTS.Flags
GHC.ST
GHC.StaticPtr
GHC.STRef
GHC.Show
GHC.Stable
+ GHC.StableName
GHC.Stack
GHC.Stack.CCS
GHC.Stack.Types
@@ -289,6 +296,7 @@ Library
System.CPUTime
System.Console.GetOpt
System.Environment
+ System.Environment.Blank
System.Exit
System.IO
System.IO.Error
@@ -316,6 +324,7 @@ Library
Control.Monad.ST.Lazy.Imp
Data.Functor.Utils
Data.OldList
+ Data.Semigroup.Internal
Data.Typeable.Internal
Foreign.ForeignPtr.Imp
GHC.StaticPtr.Internal
@@ -334,6 +343,10 @@ Library
cbits/md5.c
cbits/primFloat.c
cbits/sysconf.c
+ cbits/fs.c
+
+ cmm-sources:
+ cbits/CastFloatWord.cmm
include-dirs: include
includes:
@@ -367,7 +380,6 @@ Library
other-modules:
GHC.Event.Arr
GHC.Event.Array
- GHC.Event.Clock
GHC.Event.Control
GHC.Event.EPoll
GHC.Event.IntTable
@@ -388,3 +400,6 @@ Library
-- We need to set the unit id to base (without a version number)
-- as it's magic.
ghc-options: -this-unit-id base
+
+ -- Make sure we don't accidentally regress into anti-patterns
+ ghc-options: -Wcompat -Wnoncanonical-monad-instances