1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

ocamlPackages.sodium: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte 2023-10-30 06:46:56 +01:00 committed by Vincent Laporte
parent 825e89dc57
commit af801efe5d

View file

@ -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";