Skip to content

Commit 1d6dd9c

Browse files
committed
Add the --no-magic flag to the .cabal file for the cabal-doctests test.
This appears to be necessary on OSX. The --no-magic flag stops the doctest executable from expanding path arguments, trying to locate the package db, etc. This shouldn't be necessary with cabal-doctest, since all the necessary options to pass to doctest are computed when running the Setup.hs script. See #427 (comment).
1 parent fa9597f commit 1d6dd9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cabal-doctests/cabal-doctests-test.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ library
1919
default-language: Haskell2010
2020

2121
test-suite doctests
22+
x-doctest-options: --no-magic
2223
type: exitcode-stdio-1.0
2324
main-is: Doctests.hs
2425
ghc-options: -threaded -rtsopts -with-rtsopts=-N

0 commit comments

Comments
 (0)