From 0121066f5f34701a4c404d04434083fb83f82942 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 12 Oct 2016 12:20:40 +0200 Subject: [PATCH] camlidl: fix build with OCaml 4.03 by making warning 31 non fatal --- pkgs/development/tools/ocaml/camlidl/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/ocaml/camlidl/default.nix b/pkgs/development/tools/ocaml/camlidl/default.nix index feedd8835485..780862b6727f 100644 --- a/pkgs/development/tools/ocaml/camlidl/default.nix +++ b/pkgs/development/tools/ocaml/camlidl/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { substituteInPlace config/Makefile --replace BINDIR=/usr/local/bin BINDIR=$out substituteInPlace config/Makefile --replace OCAMLLIB=/usr/local/lib/ocaml OCAMLLIB=$out/lib/ocaml/${ocaml.version}/site-lib/camlidl substituteInPlace config/Makefile --replace CPP=/lib/cpp CPP=${stdenv.cc}/bin/cpp + substituteInPlace config/Makefile --replace "OCAMLC=ocamlc -g" "OCAMLC=ocamlc -g -warn-error -31" mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/camlidl/caml '';