Unverified Commit a15b0255 authored by Yifei Sun's avatar Yifei Sun Committed by Vincent Laporte
Browse files

ocamlPackages.oasis: throw if ocaml >= 5.0

parent cd928096
Loading
Loading
Loading
Loading
+53 −50
Original line number Diff line number Diff line
@@ -9,7 +9,10 @@
  ocamlify,
}:

stdenv.mkDerivation {
lib.throwIf (lib.versionAtLeast ocaml.version "5.0") "oasis is not available for OCaml ≥ 5.0"

  stdenv.mkDerivation
  {
    version = "0.4.11";
    pname = "ocaml-oasis";