Skip to content

Commit fe3713f

Browse files
committed
haskellPackages.snap-server: patch for network >= 3.0
1 parent 352f030 commit fe3713f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,4 +1327,17 @@ self: super: {
13271327
haskell-lsp_0_18_0_0 = super.haskell-lsp_0_18_0_0.override { haskell-lsp-types = self.haskell-lsp-types_0_18_0_0; };
13281328
lsp-test_0_8_2_0 = (dontCheck super.lsp-test_0_8_2_0).override { haskell-lsp = self.haskell-lsp_0_18_0_0; };
13291329

1330+
# apply patches from https://github.com/snapframework/snap-server/pull/126
1331+
# manually until they are accepted upstream
1332+
snap-server = overrideCabal super.snap-server (drv: {
1333+
patches = [(pkgs.fetchpatch {
1334+
url = https://github.com/snapframework/snap-server/pull/126/commits/4338fe15d68e11e3c7fd0f9862f818864adc1d45.patch;
1335+
sha256 = "1nlw9lckm3flzkmhkzwc7zxhdh9ns33w8p8ds8nf574nqr5cr8bv";
1336+
})
1337+
(pkgs.fetchpatch {
1338+
url = https://github.com/snapframework/snap-server/pull/126/commits/410de2df123b1d56b3093720e9c6a1ad79fe9de6.patch;
1339+
sha256 = "08psvw0xny64q4bw1nwg01pkzh01ak542lw6k1ps7cdcwaxk0n94";
1340+
})];
1341+
});
1342+
13301343
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 commit comments

Comments
 (0)