Unverified Commit 93954be3 authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

coqPackages.coquelicot: now depending on OCaml (#493238)

parents c0a8d267 7fb12a53
Loading
Loading
Loading
Loading
+53 −43
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@
  version ? null,
}:

mkCoqDerivation {
let
  derivation = mkCoqDerivation {
    pname = "coquelicot";
    owner = "coquelicot";
    domain = "gitlab.inria.fr";
@@ -53,4 +54,13 @@ mkCoqDerivation {
      license = lib.licenses.lgpl3;
      maintainers = [ lib.maintainers.vbgl ];
    };
  };
  patched-derivation = derivation.overrideAttrs (
    o:
    lib.optionalAttrs (o.version != null && (o.version == "dev" || lib.versions.isGt "3.4.4" o.version))
      {
        nativeBuildInputs = o.nativeBuildInputs ++ [ coq.ocamlPackages.ocaml ];
      }
  );
in
patched-derivation