Skip to content

Commit

Permalink
fix: upgrade hasql-notifications to show error
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Mar 12, 2024
1 parent 00f5780 commit 6d0757f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions nix/overlays/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ let
#
# To temporarily pin unreleased versions from GitHub:
# <name> =
# prev.callCabal2nixWithOptions "<name>" (super.fetchFromGitHub {
# lib.dontCheck (prev.callCabal2nixWithOptions "<name>" (super.fetchFromGitHub {
# owner = "<owner>";
# repo = "<repo>";
# rev = "<commit>";
# sha256 = "<sha256>";
# }) "--subpath=<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.
# Once you build the derivation it will suggest the correct sha.

configurator-pg =
prev.callHackageDirect
Expand All @@ -48,6 +51,14 @@ let

hasql-pool = lib.dontCheck prev.hasql-pool_0_10;

hasql-notifications = lib.dontCheck (prev.callCabal2nixWithOptions "hasql-notifications"
(super.fetchFromGitHub {
owner = "diogob";
repo = "hasql-notifications";
rev = "769ca47f4da421b75b97a87102613b406d46d0d3";
sha256 = "sha256-Z/FqwPaVvj0kUYyK7lsQ1WA5WmXi5nx5kSnZjBtpg8Q=";
}) "--subpath=." {});

};
in
{
Expand Down

0 comments on commit 6d0757f

Please sign in to comment.