ocamlPackages.sodium: disable for OCaml ≥ 4.10
This commit is contained in:
parent
03cd92fe70
commit
2f2ff72db3
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.10"
|
||||
then throw "sodium is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-sodium";
|
||||
version = "0.6.0";
|
||||
|
|
Loading…
Reference in a new issue