summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-03-30 10:02:29 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-03-30 10:35:52 +0200
commite32f8dad9468f07f608fc0e2f83b9533d054a186 (patch)
tree687b85afc514aa5384d1636eb8c7c678c2b01e29
parent06e8d0c8e5179d79bd04afed197b9365d85f1cf7 (diff)
downloadguix-e32f8dad9468f07f608fc0e2f83b9533d054a186.tar.gz
gnu: hugs: Build with GCC 4.9.
* gnu/packages/hugs.scm (hugs)[native-inputs]: Add "gcc-4.9".
-rw-r--r--gnu/packages/hugs.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/hugs.scm b/gnu/packages/hugs.scm
index 2dcc61f4de..2367d5bc6d 100644
--- a/gnu/packages/hugs.scm
+++ b/gnu/packages/hugs.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,7 +22,8 @@
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages gcc))
 
 (define-public hugs
   (package
@@ -68,6 +70,8 @@
                      (("/bin/cp") (which "cp"))))
                   %standard-phases)
        #:tests? #f)) ; no test target
+    ;; FIXME: Fails to build with GCC 5.
+    (native-inputs `(("gcc" ,gcc-4.9)))
     (home-page "https://www.haskell.org/hugs/")
     (synopsis "Functional programming system based on Haskell 98")
     (description