From e2dc97d69ad68733ffdc0a8576a9b881eceff2e3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Feb 2018 18:38:52 +0100 Subject: [PATCH] gnu: ghc: Use ghc-8 as default GHC. * gnu/packages/haskell.scm (ghc): Rename variable... (ghc-7): ...to this. (ghc-8)[native-inputs]: Adjust accordingly. (ghc): New alias for ghc-8. --- gnu/packages/haskell.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a6a49548c4..654f4dfec2 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -136,7 +136,7 @@ top of CLISP.") ;; ;; - Test posix010 tries to check the existence of a user on the system: ;; getUserEntryForName: does not exist (no such user) -(define-public ghc +(define-public ghc-7 (package (name "ghc") (version "7.10.2") @@ -346,7 +346,7 @@ interactive environment for the functional language Haskell.") ("python" ,python-2) ; for tests ("ghostscript" ,ghostscript) ; for tests ;; GHC is built with GHC. - ("ghc-bootstrap" ,ghc))) + ("ghc-bootstrap" ,ghc-7))) (arguments `(#:test-target "test" ;; We get a smaller number of test failures by disabling parallel test @@ -423,6 +423,8 @@ interactive environment for the functional language Haskell.") interactive environment for the functional language Haskell.") (license license:bsd-3))) +(define-public ghc ghc-8) + (define-public ghc-hostname (package (name "ghc-hostname")