jhc: Use the cc that's in scope when building
This commit is contained in:
parent
fbc7f75a84
commit
8a60ebb816
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ perl ghc ];
|
buildInputs = [ perl ghc ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
configureFlagsArray+=("CC=cc")
|
||||||
|
configureFlagsArray+=("--with-hsc2hs=${ghc}/bin/hsc2hs --cc=cc")
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Whole-program, globally optimizing Haskell compiler";
|
description = "Whole-program, globally optimizing Haskell compiler";
|
||||||
homepage = "http://repetae.net/computer/jhc/";
|
homepage = "http://repetae.net/computer/jhc/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user