haskell.packages.ghc96.hie-compat: remove unneeded patch

This commit is contained in:
Dennis Gosnell 2023-05-29 20:34:11 +09:00
parent 2130bdbd45
commit 5ea70c4da2

View file

@ -130,19 +130,6 @@ self: super: {
apply-refact = self.apply-refact_0_11_0_0;
};
hie-compat = if lib.versionAtLeast super.ghc.version "9.6" then overrideCabal
(drv: {
prePatch = drv.prePatch or "" + ''
"${pkgs.buildPackages.dos2unix}/bin/dos2unix" *.cabal
'';
})
(appendPatch (fetchpatch {
name = "hie-compat-9.6-compat.patch";
url = "https://github.com/haskell/haskell-language-server/commit/191bda61fef34696a793503e639a53003ff70660.patch";
relative = "hie-compat";
hash = "sha256-z81+fwxwZ8BQWGRqTnh3XlQ6AG7EiaahdKjT+0lFu1Q=";
}) super.hie-compat) else super.hie-compat;
# For -f-auto see cabal.project in haskell-language-server.
ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser (disableCabalFlag "auto" super.ghc-lib-parser-ex);