csecp256k1

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

commit e01203dc1ac158ef192d577d2fec75b2da1dc283
parent 79b4dec856eadb077947efdfe63b6e0dbed30535
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 14 Feb 2024 11:10:12 +0400

Use shellFor.

Diffstat:
Mflake.nix | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -10,16 +10,18 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; - ghc = pkgs.haskell.compiler.ghc964; - cabal = pkgs.haskell.packages.ghc964.cabal-install; - hspec = pkgs.haskell.packages.ghc964.hspec; + hpkgs = pkgs.haskell.packages.ghc948; + ghc = hpkgs.ghc; + cabal = hpkgs.cabal-install; in { - devShells.default = pkgs.mkShell { + devShells.default = hpkgs.shellFor { + packages = p: [ + p.hspec + ]; + buildInputs = [ - ghc cabal - hspec ]; shellHook = ''