ocamlPackages.sodium: disable for OCaml ≥ 4.10

wip/yesman
Vincent Laporte 4 years ago committed by Vincent Laporte
parent 03cd92fe70
commit 2f2ff72db3
  1. 4
      pkgs/development/ocaml-modules/sodium/default.nix

@ -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…
Cancel
Save