From 95dc3c9fadec65722715dbfcb0f16013c2f90ead Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 28 Jan 2025 09:11:45 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.secp256k1:=20fix=20for=20OCaml=20?= =?UTF-8?q?=E2=89=A5=205.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/secp256k1/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/ocaml-modules/secp256k1/default.nix b/pkgs/development/ocaml-modules/secp256k1/default.nix index 5a97578db5dd..d27d260a3723 100644 --- a/pkgs/development/ocaml-modules/secp256k1/default.nix +++ b/pkgs/development/ocaml-modules/secp256k1/default.nix @@ -1,6 +1,7 @@ { lib, fetchFromGitHub, + fetchpatch, buildDunePackage, base, stdio, @@ -21,6 +22,11 @@ buildDunePackage rec { hash = "sha256-22+dZb3MC1W5Qvsz3+IHV1/XiGCRmJHTH+6IW2QX2hU="; }; + patches = fetchpatch { + url = "https://github.com/dakk/secp256k1-ml/commit/9bde90a401746dcecdab68a2fdb95659d16a3022.patch"; + hash = "sha256-QndtZJtPKPjuv84jDmXc9Q/xGLb/mNUGL4AvRecSFlQ="; + }; + buildInputs = [ base stdio