diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-10-28 13:12:49 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-10-28 15:00:21 +0200 |
commit | 65ad002ff10962f83bddf5070c22812f07b6437b (patch) | |
tree | f79cfa20e1d2e875fea933487c86f2dba32f5655 /gnu/packages | |
parent | 75b24abf0970cc114cc8a2251c90b54649585575 (diff) | |
download | guix-65ad002ff10962f83bddf5070c22812f07b6437b.tar.gz guix-65ad002ff10962f83bddf5070c22812f07b6437b.zip |
gnu: ghc-4: Embed absolute file name of GCC in GHC.
* gnu/packages/haskell.scm (ghc-4)[arguments]: Pass "--with-gcc" option to
configure script.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/haskell.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 3eaf956d73..0caf741715 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -311,6 +311,9 @@ GhcWithHscBuiltViaC=YES "))) (invoke "./configure" "--enable-hc-boot" ; boot from C "source" files + ;; Embed the absolute file name of GCC 2.95 in the GHC + ;; driver script. + (string-append "--with-gcc=" (which "gcc")) (string-append "--prefix=" #$output) (string-append "--build=" build) (string-append "--host=" build)))) |