Commit 5c22fb97 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Use layout rather than braces {} for sections in our own .cabal file

Since we can and we want to set a good example.
parent 1d9354a6
......@@ -21,19 +21,15 @@ Category: Distribution
Extra-Source-Files:
mkGHCMakefile.sh Distribution/Simple/GHC/Makefile.in
Flag small_base {
Flag small_base
Description: Choose the new smaller, split-up base package.
}
Library {
if flag(small_base) {
Library
if flag(small_base)
-- For ghc 6.2 you need to add 'unix' to Build-Depends:
Build-Depends: base, filepath, pretty, directory, old-time, process, containers
} else {
else
Build-Depends: base, filepath
}
--FIXME: we need a CPP-Options field
GHC-Options: -DCABAL_VERSION=1,1,7 -Wall
......@@ -86,6 +82,4 @@ Library {
Distribution.Compat.RawSystem,
Distribution.Compat.TempFile
Extensions: CPP
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment