Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if can't be used in a flag block #2429

Closed
S11001001 opened this issue Feb 20, 2015 · 1 comment
Closed

if can't be used in a flag block #2429

S11001001 opened this issue Feb 20, 2015 · 1 comment

Comments

@S11001001
Copy link

This patch to ermine-language/ermine#17

--- a/ermine.cabal
+++ b/ermine.cabal
@@ -48,9 +48,13 @@ source-repository head
   type: git
   location: git://github.com/ekmett/ermine.git

+-- work around https://github.com/ermine-language/ermine/issues/17
 flag ekg
   manual: True
-  default: True
+  if os(windows)
+    default: False
+  else
+    default: True

 -- `cabal install --enable-tests -f-doctests` to disable doctest suite
 flag doctests

Yields this error at command line:

j:\scompall\src\ermine>cabal --version
cabal-install version 1.22.0.0
using version 1.22.0.0 of the Cabal library 

j:\scompall\src\ermine>cabal configure --enable-tests
cabal: 'parseField' called on a non-field. This is possibly a bug in Cabal.
Please report it to the developers: https://github.com/haskell/cabal/issues/new
@grayjay
Copy link
Collaborator

grayjay commented Mar 12, 2017

Closing as a duplicate of #2397.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants