summaryrefslogtreecommitdiff
path: root/dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch')
-rw-r--r--dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch b/dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch
new file mode 100644
index 000000000000..642f9762c737
--- /dev/null
+++ b/dev-haskell/doctest-parallel/files/doctest-parallel-0.2.4-disable-internal-test-lib.patch
@@ -0,0 +1,24 @@
+From: hololeap <hololeap@protonmail.com>
+Signed-off-by: hololeap <hololeap@protonmail.com>
+
+This internal library is only needed for tests (currently disabled) and it
+causes an error when building docs:
+
+Running Haddock on library 'spectests-modules' for doctest-parallel-0.2.4
+setup: internal error when calculating transitive package dependencies
+Debug info: []
+
+Very similar to:
+https://github.com/commercialhaskell/stack/issues/5284
+
+diff -urN doctest-parallel-0.2.4/doctest-parallel.cabal doctest-parallel-0.2.4-r1/doctest-parallel.cabal
+--- doctest-parallel-0.2.4/doctest-parallel.cabal 2022-08-11 23:35:31.648141338 -0600
++++ doctest-parallel-0.2.4-r1/doctest-parallel.cabal 2022-08-11 23:44:18.178141594 -0600
+@@ -119,6 +119,7 @@
+
+
+ library spectests-modules
++ buildable: False
+ default-language: Haskell2010
+ build-depends: base, doctest-parallel, template-haskell
+ -- Too many warnings. TODO: fix.