Skip to content

Commit

Permalink
jhc: Use the cc that's in scope when building
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Oct 24, 2016
1 parent fbc7f75 commit 8a60ebb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/compilers/jhc/default.nix
Expand Up @@ -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/";
Expand Down

0 comments on commit 8a60ebb

Please sign in to comment.