mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
ocamlPackages.sodium: disable for OCaml ≥ 4.10
This commit is contained in:
parent
03cd92fe70
commit
2f2ff72db3
@ -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 New Issue
Block a user