csecp256k1

secp256k1 bindings.
Log | Files | Refs | README | LICENSE

commit 746837b1621819bf6070dd8df2a18fd701fe04be
parent 3f6578f19b0d491a69390246624c299d864a747e
Author: Jared Tobin <jared@jtobin.io>
Date:   Tue, 27 Feb 2024 20:20:35 +0400

nix: flake tweaks

Diffstat:
Mflake.nix | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/flake.nix b/flake.nix @@ -15,7 +15,7 @@ hlib = pkgs.haskell.lib; hpkgs = pkgs.haskell.packages.ghc964.override { - overrides = new: old: rec { + overrides = new: old: { ${lib} = old.callCabal2nix lib ./. {}; }; }; @@ -25,6 +25,8 @@ cabal = hpkgs.cabal-install; in { + # cabal2nix disables haddock for packages with internal + # dependencies like secp256k1-sys, so enable it manually packages.${lib} = hlib.doHaddock hpkgs.${lib}; defaultPackage = self.packages.${system}.${lib};