aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/cil
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-02-21 17:21:11 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-02-21 17:48:49 +0000
commitc888d970139da81bbc49175e3cb810d5b718ae8b (patch)
treeaf7187eef8db788aeb0293be609e71ab0b1dbd35 /pkgs/development/ocaml-modules/cil
parentec2e601871c9eab2056b7ce02f5ac85a70b5314e (diff)
ocamlPackages.cil: fix build on Darwin
Diffstat (limited to 'pkgs/development/ocaml-modules/cil')
-rw-r--r--pkgs/development/ocaml-modules/cil/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/cil/default.nix b/pkgs/development/ocaml-modules/cil/default.nix
index 99b5f92b3405..0394266353ce 100644
--- a/pkgs/development/ocaml-modules/cil/default.nix
+++ b/pkgs/development/ocaml-modules/cil/default.nix
@@ -11,6 +11,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true;
preConfigure = ''
+ substituteInPlace Makefile.in --replace 'MACHDEPCC=gcc' 'MACHDEPCC=$(CC)'
export FORCE_PERL_PREFIX=1
'';
prefixKey = "-prefix=";