darcs: Fix build (Use old GHC)

This is fixed at upstream's head; this change can be reverted after
darcs cuts a new release (current release is 2.14.2).
This commit is contained in:
Chuck 2020-04-02 18:09:34 -07:00 committed by Peter Simons
parent f660d6ec3d
commit dec9ac364a
3 changed files with 5 additions and 2 deletions

View File

@ -1498,4 +1498,8 @@ self: super: {
# version of Polysemy the plugin goes with
polysemy = self.polysemy_1_3_0_0;
};
# Fixed at head, but hasn't cut a release in awhile.
darcs = doJailbreak super.darcs;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -3953,7 +3953,6 @@ broken-packages:
- Dao
- dao
- dapi
- darcs
- darcs-benchmark
- darcs-beta
- darcs-buildpackage

View File

@ -18883,7 +18883,7 @@ in
dablin = callPackage ../applications/radio/dablin { };
darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.darcs) (drv: {
darcs = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskell.packages.ghc865.darcs) (drv: {
configureFlags = (stdenv.lib.remove "-flibrary" drv.configureFlags or []) ++ ["-f-library"];
});