guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/177: gnu: ghc: Use ghc-8 as default GHC.


From: Ricardo Wurmus
Subject: 02/177: gnu: ghc: Use ghc-8 as default GHC.
Date: Tue, 13 Feb 2018 07:38:01 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit e2dc97d69ad68733ffdc0a8576a9b881eceff2e3
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Feb 12 18:38:52 2018 +0100

    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 a6a4954..654f4df 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]