mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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}";
|
webpage = "https://erratique.ch/software/${pname}";
|
||||||
in
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml-${pname}-${version}";
|
name = "ocaml-${pname}-${version}";
|
||||||
|
|
Loading…
Reference in a new issue