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:
Samuel Rivas
2021-08-16 12:12:46 +02:00
committed by sterni
parent 5d89a1188e
commit b3743e6325
4 changed files with 12 additions and 3 deletions
@@ -0,0 +1,8 @@
--- a/Setup.hs 2021-02-04 14:01:09.557970245 +0100
+++ b/Setup.hs 2021-02-04 14:07:45.047443753 +0100
@@ -3,4 +3,4 @@
import Distribution.Simple
main :: IO ()
-main = defaultMainWithHooks defaultUserHooks
+main = defaultMainWithHooks autoconfUserHooks