From 1d26e368d72f8b48b2e4012219b31cea499d28ef Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Wed, 13 Mar 2024 18:11:52 -0500 Subject: [PATCH] chore: update cabal/stack new hasql-notifications --- cabal.project.freeze | 2 +- nix/overlays/haskell-packages.nix | 10 +++++++--- postgrest.cabal | 2 +- stack.yaml | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cabal.project.freeze b/cabal.project.freeze index 5ba2fd45735..11eb6b5923d 100644 --- a/cabal.project.freeze +++ b/cabal.project.freeze @@ -1 +1 @@ -index-state: hackage.haskell.org 2024-02-20T00:00:00Z +index-state: hackage.haskell.org 2024-03-13T00:00:00Z diff --git a/nix/overlays/haskell-packages.nix b/nix/overlays/haskell-packages.nix index f1b68545dbf..ad28a4a41c8 100644 --- a/nix/overlays/haskell-packages.nix +++ b/nix/overlays/haskell-packages.nix @@ -19,18 +19,22 @@ let # # To temporarily pin unreleased versions from GitHub: # = - # lib.dontCheck (prev.callCabal2nixWithOptions "" (super.fetchFromGitHub { + # prev.callCabal2nixWithOptions "" (super.fetchFromGitHub { # owner = ""; # repo = ""; # rev = ""; # sha256 = ""; - # }) "--subpath=." {}); + # }) "--subpath=" {}; # # To fill in the sha256: # update-nix-fetchgit nix/overlays/haskell-packages.nix # - # Nowadays you can just delete the sha256 attribute above and nix will assume a fake sha. + # - Nowadays you can just delete the sha256 attribute above and nix will assume a fake sha. # Once you build the derivation it will suggest the correct sha. + # - If the library fails its test suite, wrap the expression with `lib.dontCheck ()` + # - is usually "." + # - When adding a new library version here, postgrest.cabal and stack.yaml must also be updated + configurator-pg = prev.callHackageDirect diff --git a/postgrest.cabal b/postgrest.cabal index 206a01e5ab2..fe8e4d12891 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -108,7 +108,7 @@ library , gitrev >= 1.2 && < 1.4 , hasql >= 1.6.1.1 && < 1.7 , hasql-dynamic-statements >= 0.3.1 && < 0.4 - , hasql-notifications >= 0.2.0.6 && < 0.3 + , hasql-notifications >= 0.2.1.0 && < 0.3 , hasql-pool >= 0.10 && < 0.11 , hasql-transaction >= 1.0.1 && < 1.1 , heredoc >= 0.2 && < 0.3 diff --git a/stack.yaml b/stack.yaml index 32a0c70aefe..a1f4efd984a 100644 --- a/stack.yaml +++ b/stack.yaml @@ -12,7 +12,7 @@ nix: extra-deps: - configurator-pg-0.2.7 - fuzzyset-0.3.1 - - hasql-notifications-0.2.0.6 + - hasql-notifications-0.2.1.0 - hasql-pool-0.10 - megaparsec-9.2.2 - postgresql-libpq-0.10.0.0