ports/devel/hs-haskell-language-server/files/patch-cabal.project.haskell-language-server
Gleb Popov e254bdde42 Uses/cabal.mk: Change the way we act on cabal.project files.
Instead of moving the original project file into a temporary location,
employ cabal.project.local for Ports-related adjustments.

This implements an idea that upstream cabal.project files shouldn't be touched
by Ports framework. If needed they can be patched by the port maintainer directly.

Adapt existing Haskell ports to this change.
2022-11-20 20:39:27 +03:00

23 lines
775 B
Text

--- cabal.project.orig 2022-09-14 06:08:48 UTC
+++ cabal.project
@@ -62,20 +62,6 @@ constraints:
ghc-lib-parser-ex -auto,
stylish-haskell +ghc-lib
--- This is benign and won't affect our ability to release to Hackage,
--- because we only depend on `ekg-json` when a non-default flag
--- is turned on.
--- DELETE MARKER FOR CI
--- centos7 has an old version of git which cabal doesn't
--- support. We delete these lines in gitlab ci to workaround
--- this issue, as this is not necessary to build our binaries.
-source-repository-package
- type:git
- location: https://github.com/pepeiborra/ekg-json
- tag: 7a0af7a8fd38045fd15fb13445bdcc7085325460
- -- https://github.com/tibbe/ekg-json/pull/12
--- END DELETE
-
allow-newer:
-- ghc-9.4
Chart-diagrams:lens,