diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2016-10-03 21:24:55 +0200 |
---|---|---|
committer | vbgl <vbgl@users.noreply.github.com> | 2016-10-10 19:16:32 +0200 |
commit | f97d5ae81f086790f968257c7c68d07f26c0d34a (patch) | |
tree | a61ee99933774642742b7de7c9bc0aab744de420 /pkgs | |
parent | b7cb8f3da7ba1ad197f7d01cbb0307ad2f8c8ec5 (diff) | |
download | nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar.gz nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar.bz2 nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar.lz nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar.xz nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.tar.zst nixlib-f97d5ae81f086790f968257c7c68d07f26c0d34a.zip |
ocaml-expat: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/expat/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/expat/default.nix b/pkgs/development/ocaml-modules/expat/default.nix index 0ecb135b4e8f..5fcc317d9408 100644 --- a/pkgs/development/ocaml-modules/expat/default.nix +++ b/pkgs/development/ocaml-modules/expat/default.nix @@ -28,7 +28,8 @@ stdenv.mkDerivation rec { substituteInPlace "unittest.ml" \ --replace "/home/maas/xml-samples/REC-xml-19980210.xml.txt" "${testcase}" substituteInPlace Makefile --replace "EXPAT_LIBDIR=/usr/local/lib" "EXPAT_LIBDIR=${expat.out}/lib" \ - substituteInPlace Makefile --replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat.dev}/include" \ + --replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat.dev}/include" \ + --replace "gcc" "\$(CC)" ''; configurePhase = "true"; # Skip configure |