me
/
guix
Archived
1
0
Fork 0

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.
Ricardo Wurmus 2022-10-28 13:51:40 +02:00
parent 65ad002ff1
commit 171b729005
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 2 deletions

View File

@ -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")