24 lines
667 B
Nix
24 lines
667 B
Nix
{ pkgs, haskellLib }:
|
|
|
|
let
|
|
inherit (pkgs) fetchpatch lib;
|
|
in
|
|
|
|
with haskellLib;
|
|
|
|
(self: super: {
|
|
# cabal2nix doesn't properly add dependencies conditional on os(windows)
|
|
network =
|
|
if pkgs.stdenv.hostPlatform.isWindows then
|
|
addBuildDepends [ self.temporary ] super.network
|
|
else
|
|
super.network;
|
|
|
|
# https://github.com/fpco/streaming-commons/pull/84
|
|
streaming-commons = appendPatch (fetchpatch {
|
|
name = "fix-headers-case.patch";
|
|
url = "https://github.com/fpco/streaming-commons/commit/6da611f63e9e862523ce6ee53262ddbc9681ae24.patch";
|
|
sha256 = "sha256-giEQqXZfoiAvtCFohdgOoYna2Tnu5aSYAOUH8YVldi0=";
|
|
}) super.streaming-commons;
|
|
})
|