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.
This commit is contained in:
Ricardo Wurmus 2018-02-12 18:38:52 +01:00
parent b90f72dcf8
commit e2dc97d69a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 2 deletions

View File

@ -136,7 +136,7 @@ top of CLISP.")
;; ;;
;; - Test posix010 tries to check the existence of a user on the system: ;; - Test posix010 tries to check the existence of a user on the system:
;; getUserEntryForName: does not exist (no such user) ;; getUserEntryForName: does not exist (no such user)
(define-public ghc (define-public ghc-7
(package (package
(name "ghc") (name "ghc")
(version "7.10.2") (version "7.10.2")
@ -346,7 +346,7 @@ interactive environment for the functional language Haskell.")
("python" ,python-2) ; for tests ("python" ,python-2) ; for tests
("ghostscript" ,ghostscript) ; for tests ("ghostscript" ,ghostscript) ; for tests
;; GHC is built with GHC. ;; GHC is built with GHC.
("ghc-bootstrap" ,ghc))) ("ghc-bootstrap" ,ghc-7)))
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
;; We get a smaller number of test failures by disabling parallel 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.") interactive environment for the functional language Haskell.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc ghc-8)
(define-public ghc-hostname (define-public ghc-hostname
(package (package
(name "ghc-hostname") (name "ghc-hostname")