diff options
author | Samuel Rivas <samuelrivas@gmail.com> | 2021-08-14 09:59:29 +0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-08-16 11:03:08 +0200 |
commit | d3ec7e0c3d62661f2d499f196aae43fa56a08614 (patch) | |
tree | 37fac58e5c33642841c85a53c5074b49cb343fba /pkgs/development/haskell-modules/patches | |
parent | 60b1048b916f8ae0cf030a8acf460ac7de96da88 (diff) |
haskellPackages.readline: fix Setup.hs to work with Cabal 3
See https://github.com/NixOS/nixpkgs/pull/111985/ for previous discussion
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r-- | pkgs/development/haskell-modules/patches/readline-fix-for-cabal-3.patch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/patches/readline-fix-for-cabal-3.patch b/pkgs/development/haskell-modules/patches/readline-fix-for-cabal-3.patch new file mode 100644 index 0000000000000..95853b32a14be --- /dev/null +++ b/pkgs/development/haskell-modules/patches/readline-fix-for-cabal-3.patch @@ -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 |