haskell-bytestring-builder: trigger rebuild with GHC 7.8.x to mitiagate broken library ID

This commit is contained in:
Peter Simons 2015-06-07 00:05:17 +02:00
parent 820c87af1f
commit 0520540018
2 changed files with 3 additions and 1 deletions

View file

@ -52,7 +52,7 @@ self: super: {
haddock-api = super.haddock-api_2_15_0_2;
# This is part of bytestring in our compiler.
bytestring-builder = dontHaddock super.bytestring-builder;
bytestring-builder = triggerRebuild (dontHaddock super.bytestring-builder) 1;
# Won't compile against mtl 2.1.x.
imports = super.imports.override { mtl = self.mtl_2_2_1; };

View file

@ -77,4 +77,6 @@ rec {
buildStrictly = pkg: buildFromSdist (appendConfigureFlag pkg "--ghc-option=-Wall --ghc-option=-Werror");
triggerRebuild = drv: i: overrideCabal drv (drv: { postUnpack = ": trigger rebuild ${toString i}"; });
}