From b464f0573e4e67978ed00a4bbab567a9bd08fc3c Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Mon, 15 Nov 2021 18:58:50 -0800 Subject: [PATCH] ocamlPackages.sodium: build on later OCaml versions --- pkgs/development/ocaml-modules/sodium/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/sodium/default.nix b/pkgs/development/ocaml-modules/sodium/default.nix index dc090e91743f..cff3d6186d1a 100644 --- a/pkgs/development/ocaml-modules/sodium/default.nix +++ b/pkgs/development/ocaml-modules/sodium/default.nix @@ -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";