git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-camlidl: fix build on darwin
commitb7cb8f3da7ba1ad197f7d01cbb0307ad2f8c8ec5 authorVincent Laporte <Vincent.Laporte@gmail.com> dateMon 3 Oct 2016, 21:22 (10 years ago) parent4083964
1 file changed+2−2
pkgs/development/tools/ocaml/camlidl/default.nix+2−2
pkgs/development/tools/ocaml/camlidl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, makeWrapper, gcc, ocaml, ncurses}:
1+{ stdenv, fetchurl, makeWrapper, ocaml, ncurses }:
22
33let
44 pname = "camlidl";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 mv config/Makefile.unix config/Makefile
2020 substituteInPlace config/Makefile --replace BINDIR=/usr/local/bin BINDIR=$out
2121 substituteInPlace config/Makefile --replace OCAMLLIB=/usr/local/lib/ocaml OCAMLLIB=$out/lib/ocaml/${ocaml.version}/site-lib/camlidl
22− substituteInPlace config/Makefile --replace CPP=/lib/cpp CPP=${gcc}/bin/cpp
22+ substituteInPlace config/Makefile --replace CPP=/lib/cpp CPP=${stdenv.cc}/bin/cpp
2323 mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/camlidl/caml
2424 '';
2525