Reading 'setup-config' with Cabal library

2014-02-22 Thread Daniel Trstenjak
Hi all, I'm trying to read a 'setup-config' file with the cabal library and I'm getting from 'tryGetPersistBuildConfig' the error: Run the 'configure' command first And the returned ConfigStateFileErrorType is: ConfigStateFileMissing The version of the cabal library used by cabal is:

Re: Reading 'setup-config' with Cabal library

2014-02-22 Thread Daniel Trstenjak
> Any ideas what could causing the error? Thanks! Ok, replacing 'tryGetPersistBuildConfig' by 'tryGetConfigStateFile' solved the issue. Greetings, Daniel ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cab