tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.faillib: disable for OCaml ≥ 4.06
Vincent Laporte
7 years ago
a04f3afc
f7c617e3
+5
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
faillib
default.nix
+5
-1
pkgs/development/ocaml-modules/faillib/default.nix
reviewed
···
1
1
-
{stdenv, buildOcaml, fetchurl, herelib, camlp4}:
1
1
+
{ stdenv, buildOcaml, fetchurl, ocaml, herelib, camlp4 }:
2
2
+
3
3
+
if stdenv.lib.versionAtLeast ocaml.version "4.06"
4
4
+
then throw "faillib-111.17.00 is not available for OCaml ${ocaml.version}"
5
5
+
else
2
6
3
7
buildOcaml rec {
4
8
minimumSupportedOcamlVersion = "4.00";