Trying to build darcs with GHC 8.0.1 fails with the error
```
Configuring darcs-2.12.0...
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused
clang: warning: argument unused during compilation: '-L/usr/local/lib'
clang: warning: argument unused during compilation:
'-L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries'
checking whether to use -liconv...
dist/dist-sandbox-296ea86f/setup/setup.hs:149:15-41: Irrefutable pattern
failed for pattern Just lib
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
darcs-2.12.0 failed during the configure step. The exception was:
ExitFailure 1
```
To get darcs building under GHC 8.0.1 for Homebrew (we only typically
support the latest GHC), I've needed to add a "cabal.config" file at the
root of the package containing "allow-newer: base", at which point
everything builds as expected.
TAG 2.12.0, OS X 10.11.5, Xcode 7.3.1
|