mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
ocamlPackages.pa_ounit: disable for OCaml ≥ 4.06
This commit is contained in:
parent
06cd948ba3
commit
ea276e21cf
@ -1,4 +1,8 @@
|
||||
{stdenv, buildOcaml, fetchurl, ounit}:
|
||||
{ stdenv, buildOcaml, ocaml, fetchurl, ounit }:
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "pa_ounit is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildOcaml rec {
|
||||
name = "pa_ounit";
|
||||
|
Loading…
Reference in New Issue
Block a user