ocamlPackages.camomile: fix build for OCaml 4.05

This commit is contained in:
Vincent Laporte
2017-07-14 07:57:13 +02:00
parent c5798c1db2
commit 53a50dfa7a
2 changed files with 10 additions and 1 deletions
@@ -1,5 +1,9 @@
{stdenv, fetchurl, ocaml, findlib, camlp4}:
if stdenv.lib.versionAtLeast ocaml.version "4.05"
then throw "camomile-0.8.2 is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "camomile-${version}";
version = "0.8.2";