Merge pull request #48015 from rnhmjoj/shell-conduit

haskellPackages.shell-conduit: fix build
This commit is contained in:
Silvan Mosberger 2018-10-14 21:17:23 +02:00 committed by GitHub
commit 1d512468aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,18 +103,12 @@ self: super: {
};
# Fix test trying to access /home directory
shell-conduit = (overrideCabal super.shell-conduit (drv: {
shell-conduit = overrideCabal super.shell-conduit (drv: {
postPatch = "sed -i s/home/tmp/ test/Spec.hs";
# the tests for shell-conduit on Darwin illegitimatey assume non-GNU echo
# see: https://github.com/psibi/shell-conduit/issues/12
doCheck = !pkgs.stdenv.isDarwin;
})).overrideScope (self: super: {
# shell-conduit doesn't build with conduit 1.3
# see https://github.com/psibi/shell-conduit/issues/15
conduit = self.conduit_1_2_13_1;
conduit-extra = self.conduit-extra_1_2_3_2;
resourcet = self.resourcet_1_1_11;
});
# https://github.com/froozen/kademlia/issues/2