mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
haskell-bytestring-builder: trigger rebuild with GHC 7.8.x to mitiagate broken library ID
This commit is contained in:
parent
820c87af1f
commit
0520540018
2 changed files with 3 additions and 1 deletions
|
@ -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; };
|
||||
|
|
|
@ -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}"; });
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue