mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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 ];
|
||||
|
||||
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/";
|
||||
|
Loading…
Reference in New Issue
Block a user