ocamlPackages.sodium: disable for OCaml ≥ 5.0
This commit is contained in:
parent
825e89dc57
commit
af801efe5d
@ -1,5 +1,8 @@
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
|
||||
|
||||
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
|
||||
"sodium is not available for OCaml ${ocaml.version}"
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-sodium";
|
||||
version = "0.6.0";
|
||||
|
Loading…
Reference in New Issue
Block a user