mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 12:01:49 +02:00
gnu: hugs: Fix build with GCC.
* gnu/packages/patches/hugs-fix-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hugs.scm (hugs)[source]: Use it. [native-inputs]: Remove. Change-Id: I8b17f6c8a89fbc25ac9fe40b58962c83b08cbc21 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages gcc))
|
||||
#:use-module (gnu packages))
|
||||
|
||||
(define-public hugs
|
||||
(package
|
||||
@@ -36,7 +36,8 @@
|
||||
name "98-plus-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1mdy4aq4campgmnpc2qwq7bsbfhaxfsqdghbyyz2wms4lnfcmyma"))))
|
||||
"1mdy4aq4campgmnpc2qwq7bsbfhaxfsqdghbyyz2wms4lnfcmyma"))
|
||||
(patches (search-patches "hugs-fix-build.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
@@ -71,8 +72,6 @@
|
||||
(("/bin/cp") (which "cp")))
|
||||
#t)))
|
||||
#:tests? #f)) ; no test target
|
||||
;; FIXME: Fails to build with GCC 5.
|
||||
(native-inputs (list gcc-4.9))
|
||||
(home-page "https://www.haskell.org/hugs/")
|
||||
(synopsis "Functional programming system based on Haskell 98")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user