[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61420] [PATCH 04/31] gnu: Switch default to GHC 9.2.
From: |
Lars-Dominik Braun |
Subject: |
[bug#61420] [PATCH 04/31] gnu: Switch default to GHC 9.2. |
Date: |
Sat, 11 Feb 2023 11:08:01 +0100 |
* gnu/packages/haskell.scm (ghc-9.0): Rename to just “ghc”.
(ghc-9.2): Ditto.
(ghc): Use ghc-9.2.
---
gnu/packages/haskell.scm | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 91610a1f2e..84071cb293 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1235,19 +1235,12 @@ (define-public ghc-8.10
(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 ghc-8.10)
-(define-public ghc ghc-8)
-
(define-public ghc-9.0
(package
(inherit ghc-8.10)
- (name "ghc-next")
+ (name "ghc")
(version "9.0.2")
(source (origin
(method url-fetch)
@@ -1285,7 +1278,7 @@ (define-public ghc-9.2
(let ((base ghc-8.10))
(package
(inherit base)
- (name "ghc-next")
+ (name "ghc")
(version "9.2.5")
(source (origin
(method url-fetch)
@@ -1327,6 +1320,12 @@ (define-public ghc-9.2
(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 ghc-9.2)
+
;; 9.4 is the last version to support the make-based build system,
;; but it boot with 9.2, only 9.0 is supported.
(define ghc-bootstrap-for-9.4 ghc-9.0)
--
2.38.2
- [bug#61420] [PATCH 00/31] Haskell upgrade to Stackage 20.5, Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 01/31] import: hackage: Allow version at the beginning of cabal file., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 03/31] build: haskell-build-system: Support multiple libraries., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 05/31] import: stackage: Update to release 20.5., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 04/31] gnu: Switch default to GHC 9.2.,
Lars-Dominik Braun <=
- [bug#61420] [PATCH 10/31] import: haskell: Add new internal library for GHC 9.2., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 15/31] gnu: Remove unused Haskell packages., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 22/31] build: haskell-build-system: Build static executables by default., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 08/31] import: hackage: Use upstream-name property., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 02/31] build: haskell-build-system: Remove trailing #t., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 12/31] build: haskell-build-system: Remove unused linker flags., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 21/31] gnu: ghc-lua: Disable symbol export., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 11/31] build: haskell-build-system: Process all transitive dependencies., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 16/31] gnu: ghc-parsec: Update to 3.1.15.0., Lars-Dominik Braun, 2023/02/11