haskellPackages.readline: fix Setup.hs to work with Cabal 3
See https://github.com/NixOS/nixpkgs/pull/111985/ for previous discussion (cherry picked from commit b950ecaf3a49662ba92e6c978aa472155eddd47f)
This commit is contained in:
@@ -1583,6 +1583,10 @@ self: super: {
|
||||
addBuildDepend (unmarkBroken super.hercules-ci-cli) super.hercules-ci-optparse-applicative
|
||||
);
|
||||
|
||||
# Readline uses Distribution.Simple from Cabal 2, in a way that is not
|
||||
# compatible with Cabal 3. No upstream repository found so far
|
||||
readline = appendPatch super.readline ./patches/readline-fix-for-cabal-3.patch;
|
||||
|
||||
# 2020-12-05: http-client is fixed on too old version
|
||||
essence-of-live-coding-warp = doJailbreak (super.essence-of-live-coding-warp.override {
|
||||
http-client = self.http-client_0_7_8;
|
||||
|
||||
Reference in New Issue
Block a user