From 4a2c851ae50531858184679e67ef07a98c9ffd66 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 +- stack.yaml.lock | 6 +++--- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/cabal.project.freeze b/cabal.project.freeze index 5ba2fd4573..71a64777c2 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-13T22:43:26Z diff --git a/nix/overlays/haskell-packages.nix b/nix/overlays/haskell-packages.nix index f1b68545db..77c9a29ca5 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 (usually when it runs IO tests), 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 206a01e5ab..fe8e4d1289 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 32a0c70aef..a1f4efd984 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 diff --git a/stack.yaml.lock b/stack.yaml.lock index 03afb8b018..6979cc4416 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -19,12 +19,12 @@ packages: original: hackage: fuzzyset-0.3.1 - completed: - hackage: hasql-notifications-0.2.0.6@sha256:16d783f5cd1660fad924fd3769380889de5804e057f09b304dcdc3a3ff11eb3c,2028 + hackage: hasql-notifications-0.2.1.0@sha256:c9c0ba3ac0866142836d2d0a08a0d10a945bcbe1c163ee1ef6aed407d046a24e,2022 pantry-tree: - sha256: 2319743501bb3c0bef801014ce61308b8666cef86ae5a97a0a283c0c1ec12d4f + sha256: 65a646ed0a77ee1dfe902faedc590103ee385eaa78f407c4cf02a1eb5783d464 size: 452 original: - hackage: hasql-notifications-0.2.0.6 + hackage: hasql-notifications-0.2.1.0 - completed: hackage: hasql-pool-0.10@sha256:912197a328acb85505f98bb9700d61f366b87659ca45126c5c2d636687b801c3,2112 pantry-tree: