Skip to content

Commit f8a4352

Browse files
committed
haskellPackages.snap-server: patch for network >= 3.0
1 parent 5d22053 commit f8a4352

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,4 +1331,19 @@ self: super: {
13311331
# hoping to make a proper derivation with plugins enabled and more reliable building -- kiwi
13321332
glirc = doJailbreak super.glirc;
13331333

1334+
# apply patches from https://github.com/snapframework/snap-server/pull/126
1335+
# manually until they are accepted upstream
1336+
snap-server = overrideCabal super.snap-server (drv: {
1337+
patches = [(pkgs.fetchpatch {
1338+
# allow compilation with network >= 3
1339+
url = https://github.com/snapframework/snap-server/pull/126/commits/4338fe15d68e11e3c7fd0f9862f818864adc1d45.patch;
1340+
sha256 = "1nlw9lckm3flzkmhkzwc7zxhdh9ns33w8p8ds8nf574nqr5cr8bv";
1341+
})
1342+
(pkgs.fetchpatch {
1343+
# prefer fdSocket over unsafeFdSocket
1344+
url = https://github.com/snapframework/snap-server/pull/126/commits/410de2df123b1d56b3093720e9c6a1ad79fe9de6.patch;
1345+
sha256 = "08psvw0xny64q4bw1nwg01pkzh01ak542lw6k1ps7cdcwaxk0n94";
1346+
})];
1347+
});
1348+
13341349
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 commit comments

Comments
 (0)