Skip to content

Commit eca5c16

Browse files
isomorphemeOpsBotPrime
authored andcommitted
haskell-overlay.nix: Switch github to latest Hackage version
1 parent eeb4a9f commit eca5c16

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

cabal.project.freeze

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ constraints: any.HUnit ==1.6.2.0,
8989
any.ghc-bignum ==1.3,
9090
any.ghc-boot-th ==9.6.5,
9191
any.ghc-prim ==0.10.0,
92-
any.github ==0.29,
92+
any.github ==0.30,
9393
any.hashable ==1.4.4.0,
9494
any.haskell-lexer ==1.1.1,
9595
any.hourglass ==0.2.12,
@@ -210,4 +210,4 @@ constraints: any.HUnit ==1.6.2.0,
210210
any.witherable ==0.4.2,
211211
any.word8 ==0.1.3,
212212
any.zlib ==0.6.3.0
213-
index-state: hackage.haskell.org 2024-04-26T10:39:31Z
213+
index-state: hackage.haskell.org 2025-05-15T07:59:00Z

nix/haskell-overlay.nix

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
self: super: {
33
hoff = self.callPackage ../hoff.nix { };
44

5+
# This version isn't in our nixpkgs yet, but we need it because it adds
6+
# support for reactions endpoints.
57
github =
6-
pkgs.haskell.lib.compose.appendPatches
7-
[
8-
# https://github.com/haskell-github/github/pull/509
9-
(pkgs.fetchpatch {
10-
name = "github.patch";
11-
url = "https://github.com/haskell-github/github/commit/623105d3987c4bb4e67d48e5ae36a3af97480be9.patch";
12-
sha256 = "sha256-3zRYnrxg9G+druD8o5iejCnTclxd2eg1V7BAO6USjzo=";
13-
})
14-
]
15-
super.github;
8+
pkgs.haskell.lib.overrideCabal super.github {
9+
version = "0.30";
10+
sha256 = "sha256-Lq4kOOcZIIBFXW8XNhak4HfryyBjB54Ewks4/fNrPBM=";
11+
# Since the version in nixpkgs uses a revision, we need to explicitly
12+
# unset it (and the corresponding `.cabal` file hash).
13+
revision = null;
14+
editedCabalFile = null;
15+
};
1616
}

0 commit comments

Comments
 (0)