mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
darcs: switch build to GHC 8.0.2 to fix it
Also, jailbreak the constraint on unix-compat <5.
This commit is contained in:
parent
238d574846
commit
ab3a12ed7e
@ -1015,7 +1015,9 @@ self: super: {
|
||||
|
||||
# https://github.com/haskell/cabal/issues/4969
|
||||
haddock-library_1_4_4 = dontHaddock super.haddock-library_1_4_4;
|
||||
haddock-api = super.haddock-api.override { haddock-library = self.haddock-library_1_4_4; };
|
||||
|
||||
# Jailbreak "unix-compat >=0.1.2 && <0.5".
|
||||
darcs = overrideCabal super.darcs (drv: { preConfigure = "sed -i -e 's/unix-compat .*,/unix-compat,/' darcs.cabal"; });
|
||||
|
||||
haddock-api = super.haddock-api.override
|
||||
{ haddock-library = self.haddock-library_1_4_4; };
|
||||
}
|
||||
|
@ -14394,7 +14394,7 @@ with pkgs;
|
||||
|
||||
cyclone = callPackage ../applications/audio/pd-plugins/cyclone { };
|
||||
|
||||
darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.darcs) (drv: {
|
||||
darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskell.packages.ghc802.darcs) (drv: {
|
||||
configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"];
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user