lol

ocamlPackages.gsl: disable for OCaml ≥ 5.0

authored by

Vincent Laporte and committed by
Vincent Laporte
f026efee a28f3028

+4 -3
+4 -3
pkgs/development/ocaml-modules/gsl/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }: 1 + { lib, stdenv, ocaml, fetchFromGitHub, fetchpatch, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }: 2 + 3 + lib.throwIf (lib.versionAtLeast ocaml.version "5.0") 4 + "gsl is not available for OCaml ${ocaml.version}" 2 5 3 6 buildDunePackage rec { 4 7 pname = "gsl"; ··· 35 38 sha256 = "sha256-bsIKkvj9W8oAYSvP6ZfbqSgt5fSirc780O08WBhVRmI="; 36 39 }) 37 40 ]; 38 - 39 - duneVersion = "3"; 40 41 41 42 nativeBuildInputs = [ pkg-config ]; 42 43 buildInputs = [ dune-configurator gsl ];