Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
7e7b56e5
Commit
7e7b56e5
authored
Nov 23, 2008
by
Duncan Coutts
Browse files
Simplify build-depends and base3/4 flags
parent
5c8966bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal.cabal
View file @
7e7b56e5
...
...
@@ -38,21 +38,17 @@ Flag base3
Description: Choose the new smaller, split-up base package.
Library
if flag(base4)
Build-Depends: base >= 4 && < 5
build-depends: base >= 1 && < 5,
filepath >= 1 && < 1.2
if flag(base4) { build-depends: base >= 4 } else { build-depends: base < 4 }
if flag(base3) { build-depends: base >= 3 } else { build-depends: base < 3 }
if flag(base3)
Build-Depends: base >= 3 && < 4
if !flag(base3) && !flag(base4)
Build-Depends: base < 3
if flag(base3) || flag(base4)
Build-Depends: directory >= 1 && < 1.1,
process >= 1 && < 1.1,
old-time >= 1 && < 1.1,
containers >= 0.1 && < 0.3,
array >= 0.1 && < 0.3,
pretty >= 1 && < 1.1
Build-Depends: filepath >= 1 && < 1.2
ghc-options: -Wall
if impl(ghc >= 6.8)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment