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:
dan at machine $> cabal --version
cabal-install version 1.18.0.2
using version 1.18.1 of the Cabal library
And the version of the cabal library used by my program seems to match:
dan at machine $> ls .cabal-sandbox/x86_64-linux-ghc-7.6.2-packages.conf.d/Cabal-*
.cabal-sandbox/x86_64-linux-ghc-7.6.2-packages.conf.d/Cabal-1.18.1-3459d045e142649dd77825434a88fc1a.conf
Also the header of the 'setup-config' file I'm trying to read seem to match:
Saved package config for cabal-bounds-0.1 written by Cabal-1.18.1 using ghc-7.6
Any ideas what could causing the error? Thanks!
Greetings,
Daniel