guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: ghc-6.0: Adjust configuration.


From: guix-commits
Subject: 07/08: gnu: ghc-6.0: Adjust configuration.
Date: Fri, 28 Oct 2022 09:04:32 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 171b7290059831938657043ef4a4ddf41f4b9617
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Oct 28 13:51:40 2022 +0200

    gnu: ghc-6.0: Adjust configuration.
    
    * gnu/packages/haskell.scm (ghc-6.0)[arguments]: Pass 
--enable-src-tree-happy
    option; remove --with-hc option because we use the same GHC for everything;
    add --with-gcc option to embed absolute file name of GCC.
    [native-inputs]: Remove unused python-2.
---
 gnu/packages/haskell.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0caf741715..945aecd2b2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -465,7 +465,8 @@ interactive environment for the functional language 
Haskell.")
                 (("ifdef SO_PEERCRED")
                  "ifdef SO_PEERCRED_NEVER"))
               (invoke "./configure"
-                      (string-append "--with-hc=" (which "ghc"))
+                      "--enable-src-tree-happy"
+                      (string-append "--with-gcc=" (which "gcc"))
                       (string-append "--prefix=" #$output)
                       (string-append "--build=" build)
                       (string-append "--host=" build)))))))
@@ -485,7 +486,6 @@ interactive environment for the functional language 
Haskell.")
                 ;; we want to use a more recent Perl we need to patch all
                 ;; expressions that require multi-line matching.  Hard to tell.
                 perl-5.6
-                python-2               ;for tests
                 ghc-4
                 gcc-2.95)))
     (home-page "https://www.haskell.org/ghc";)



reply via email to

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