From b6c7297a950fb5af7ba79c439678948c0cb9e2b4 Mon Sep 17 00:00:00 2001 From: "mitchellwrosen@a8b31a642d244e193ef0e72fcff54f12af2c8977" Date: Wed, 2 May 2018 04:21:49 +0000 Subject: --- doc/todo/Fails_to_build_with_cabal-2.0.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/Fails_to_build_with_cabal-2.0.mdwn diff --git a/doc/todo/Fails_to_build_with_cabal-2.0.mdwn b/doc/todo/Fails_to_build_with_cabal-2.0.mdwn new file mode 100644 index 0000000..42223dd --- /dev/null +++ b/doc/todo/Fails_to_build_with_cabal-2.0.mdwn @@ -0,0 +1,10 @@ +`keysafe` and `zxcvbn-c` (and possibly others) fail to build with Cabal 2.0. Cabal now requires a top-level `custom-setup` and inner `setup-depends` stanza for packages with build-type `Custom`. This field specifies the dependencies of `Setup.hs` itself. + +For example: + + custom-setup: + setup-depends: + base, + Cabal + +See https://github.com/haskell/cabal/issues/5278 for someone complaining about the horrible error message Cabal spits out in this situation. -- cgit v1.2.3