[commit: ghc] master: Fixes building with stack within recent versions of ghc repo (#646) (23dc432)
git at git.haskell.org
git at git.haskell.org
Tue Oct 23 20:18:37 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/23dc432a3f6cafc20499ad98882ed33f25a8f271/ghc
>---------------------------------------------------------------
commit 23dc432a3f6cafc20499ad98882ed33f25a8f271
Author: Michael Sloan <mgsloan at gmail.com>
Date: Thu Jul 19 06:30:52 2018 -0700
Fixes building with stack within recent versions of ghc repo (#646)
>---------------------------------------------------------------
23dc432a3f6cafc20499ad98882ed33f25a8f271
stack.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/stack.yaml b/stack.yaml
index 61767bd..d506426 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -12,6 +12,16 @@ packages:
extra-deps:
- shake-0.16.1
+# This is necessary to build until happy's version bounds are updated to work
+# with the new Cabal version. Stack's error message explains the issue:
+#
+# In the dependencies for happy-1.19.9:
+# Cabal-2.3.0.0 from stack configuration does not match <2.2 (latest matching version is 2.0.1.1)
+# needed due to hadrian-0.1.0.0 -> happy-1.19.9
+#
+# TODO: Remove this once it's no longer necessary
+allow-newer: true
+
nix:
enable: false
packages:
More information about the ghc-commits
mailing list