jhc: Use the cc that's in scope when building

This commit is contained in:
John Wiegley 2016-10-24 15:28:08 -07:00
parent fbc7f75a84
commit 8a60ebb816
No known key found for this signature in database
GPG Key ID: C144D8F4F19FE630

View File

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ghc ];
preConfigure = ''
configureFlagsArray+=("CC=cc")
configureFlagsArray+=("--with-hsc2hs=${ghc}/bin/hsc2hs --cc=cc")
'';
meta = {
description = "Whole-program, globally optimizing Haskell compiler";
homepage = "http://repetae.net/computer/jhc/";