mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
idris: fix build with GHC 7.8.x
This commit is contained in:
parent
2ba3653ef6
commit
51b9c9b262
@ -36,6 +36,18 @@ self: super: {
|
||||
|
||||
# mtl 2.2.x needs the latest transformers.
|
||||
mtl_2_2_1 = super.mtl_2_2_1.override { transformers = self.transformers_0_4_2_0; };
|
||||
|
||||
# Idris requires mtl 2.2.x.
|
||||
idris = overrideCabal (super.idris.overrideScope (self: super: {
|
||||
mkDerivation = drv: super.mkDerivation (drv // { doCheck = false; });
|
||||
transformers = super.transformers_0_4_2_0;
|
||||
transformers-compat = disableCabalFlag super.transformers-compat "three";
|
||||
mtl = super.mtl_2_2_1;
|
||||
})) (drv: {
|
||||
jailbreak = true; # idris is scared of lens 4.7
|
||||
patchPhase = "find . -name '*.hs' -exec sed -i -s 's|-Werror||' {} +";
|
||||
}); # warning: "Module ‘Control.Monad.Error’ is deprecated"
|
||||
|
||||
}
|
||||
|
||||
// # packages relating to amazonka
|
||||
|
Loading…
Reference in New Issue
Block a user