summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-09-14 10:01:47 +0200
committerLars-Dominik Braun <lars@6xq.net>2021-09-15 09:35:29 +0200
commit39b43d0d0428474a1d0bf58779d0135163b9c6e3 (patch)
tree7d7b2f58fa80a394406ca0b951f1427102863568
parent69f7a8f476da4cca5d146e3b232a9919693eb2eb (diff)
downloadguix-39b43d0d0428474a1d0bf58779d0135163b9c6e3.tar.gz
gnu: ghc-8.8: Rename to ghc-next.
This fixes <https://issues.guix.gnu.org/issue/47335>.

* gnu/packages/haskell.scm (ghc-8.8)[name]: Rename to ghc-next.
-rw-r--r--gnu/packages/haskell.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ca0498e6d9..6b134ab1cc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -612,9 +612,14 @@ interactive environment for the functional language Haskell.")
                                 (file-pattern ".*\\.conf\\.d$")
                                 (file-type 'directory))))))
 
+;; Versions newer than ghc defined below (i.e. the compiler
+;; haskell-build-system uses) should use ghc-next as their name to
+;; ensure ghc (without version specification) and ghc-* packages are
+;; always compatible. See https://issues.guix.gnu.org/issue/47335.
+
 (define-public ghc-8.8
   (package (inherit ghc-8.6)
-    (name "ghc")
+    (name "ghc-next")
     (version "8.8.4")
     (source
      (origin