dev-haskell/cabal-install: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger 2023-10-27 07:20:50 +02:00 committed by Ulrich Müller
parent 56e9e13f30
commit dd956b18a3
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
diff --git a/Distribution/Client/IndexUtils.hs b/Distribution/Client/IndexUtils.hs
index 48d8d49..3a38ee1 100644
--- a/Distribution/Client/IndexUtils.hs
+++ b/Distribution/Client/IndexUtils.hs
@@ -312,10 +312,15 @@ extractPkg entry = case Tar.entryContent entry of
extractPrefs :: Tar.Entry -> Maybe [Dependency]
extractPrefs entry = case Tar.entryContent entry of
+{-
+ -- get rid of hackage's preferred-versions
+ -- I'd like to have bleeding-edge packages in system and I don't fear of
+ -- broken packages with improper depends
Tar.NormalFile content _
| takeFileName (Tar.entryPath entry) == "preferred-versions"
-> Just . parsePreferredVersions
. BS.Char8.unpack $ content
+-}
_ -> Nothing
parsePreferredVersions :: String -> [Dependency]