summaryrefslogtreecommitdiffhomepage
path: root/doc/todo/Fails_to_build_with_cabal-2.0.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/todo/Fails_to_build_with_cabal-2.0.mdwn')
-rw-r--r--doc/todo/Fails_to_build_with_cabal-2.0.mdwn10
1 files changed, 10 insertions, 0 deletions
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.