ocamlPackages.sodium: build on later OCaml versions
This commit is contained in:
parent
f8f4575030
commit
b464f0573e
@ -1,9 +1,5 @@
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, ctypes, libsodium }:
|
||||
|
||||
if 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 New Issue
Block a user