git.iko.soy/typeable/nixpkgs
on master help sign in
haskell-servant: fix build of latest version

Closes https://github.com/NixOS/nixpkgs/pull/20068.

commit6fe22c643b0fe189ffbd53275952adb0a6d6def1 authorPeter Simons <simons@cryp.to> dateWed 2 Nov 2016, 08:39 (10 years ago) parentb84f2a5
1 file changed+14
pkgs/development/haskell-modules/configuration-common.nix+14
pkgs/development/haskell-modules/configuration-common.nix+14
@@ -1017,6 +1017,20 @@ self: super: {
10171017 doCheck = false;
10181018 });
10191019
1020+ # http-api-data_0.3.x requires QuickCheck > 2.9, but overriding that version
1021+ # is hard because of transitive dependencies, so we just disable tests.
1022+ http-api-data_0_3_2 = dontCheck super.http-api-data_0_3_2;
1023+
1024+ # Fix build for latest versions of servant and servant-client.
1025+ servant_0_9_1_1 = super.servant_0_9_1_1.overrideScope (self: super: {
1026+ http-api-data = self.http-api-data_0_3_2;
1027+ });
1028+ servant-client_0_9_1_1 = super.servant-client_0_9_1_1.overrideScope (self: super: {
1029+ http-api-data = self.http-api-data_0_3_2;
1030+ servant-server = self.servant-server_0_9_1_1;
1031+ servant = self.servant_0_9_1_1;
1032+ });
1033+
10201034 # https://github.com/pontarius/pontarius-xmpp/issues/105
10211035 pontarius-xmpp = dontCheck super.pontarius-xmpp;
10221036