ocamlPackages.logs: disable for OCaml < 4.03
This commit is contained in:
parent
a8d3aebdce
commit
7cca325b07
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@ let
|
|||
webpage = "https://erratique.ch/software/${pname}";
|
||||
in
|
||||
|
||||
assert stdenv.lib.versionAtLeast ocaml.version "4.01.0";
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "logs is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml-${pname}-${version}";
|
||||
|
|
Loading…
Reference in a new issue