ocamlPackages.gsl: disable for OCaml ≥ 5.0
This commit is contained in:
committed by
Vincent Laporte
parent
a28f30282f
commit
f026efee20
@@ -1,4 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
|
||||
{ lib, stdenv, ocaml, fetchFromGitHub, fetchpatch, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
|
||||
|
||||
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
|
||||
"gsl is not available for OCaml ${ocaml.version}"
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "gsl";
|
||||
@@ -36,8 +39,6 @@ buildDunePackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dune-configurator gsl ];
|
||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
|
||||
|
||||
Reference in New Issue
Block a user