haskell-servant: fix build of latest version

Closes https://github.com/NixOS/nixpkgs/pull/20068.
This commit is contained in:
Peter Simons 2016-11-02 08:39:39 +01:00
parent b84f2a5165
commit 6fe22c643b

View File

@ -1017,6 +1017,20 @@ self: super: {
doCheck = false;
});
# http-api-data_0.3.x requires QuickCheck > 2.9, but overriding that version
# is hard because of transitive dependencies, so we just disable tests.
http-api-data_0_3_2 = dontCheck super.http-api-data_0_3_2;
# Fix build for latest versions of servant and servant-client.
servant_0_9_1_1 = super.servant_0_9_1_1.overrideScope (self: super: {
http-api-data = self.http-api-data_0_3_2;
});
servant-client_0_9_1_1 = super.servant-client_0_9_1_1.overrideScope (self: super: {
http-api-data = self.http-api-data_0_3_2;
servant-server = self.servant-server_0_9_1_1;
servant = self.servant_0_9_1_1;
});
# https://github.com/pontarius/pontarius-xmpp/issues/105
pontarius-xmpp = dontCheck super.pontarius-xmpp;