Hi

So a small problem with depending on a development/darcs version of 
cabal is that it is likely to change.
localBuildInfoFile was a 'FilePath' set to "dist/setup-config"

http://haskell.org/ghc/docs/latest/html/libraries/Cabal/Distribution-Simple-Configure.html#v%3AlocalBuildInfoFile

but it is now a 'FilePath -> FilePath' where you supply the 'dist' part.
http://darcs.haskell.org/cabal/Distribution/Simple/Configure.hs
(localBuildInfoFile) is about a third of the way down.

We should fix this properly, for now in your own local version if you 
just replace 'localBuildInfoFile' with '(localBuildInfoFile "dist") it 
*should* work (WARNING: non-tested).

regards
allan


Mark Zander wrote:
> I got past all of the dependency problems. My new error is:
> 
> [22 of 84] Compiling Shim.ProjectContent ( Shim/ProjectContent.hs,  
> dist/build/Shim/ProjectContent.o )
> 
> Shim/ProjectContent.hs:80:51:
>      Couldn't match expected type `FilePath'
>             against inferred type `FilePath -> FilePath'
>      In the second argument of `(</>)', namely `localBuildInfoFile'
>      In the first argument of `tryGetConfigStateFile', namely
>          `(projPath </> localBuildInfoFile)'
>      In a 'do' expression:
>          Right lbi <- tryGetConfigStateFile
>                         (projPath </> localBuildInfoFile)
> make: *** [build] Error 1
> 
> Looks like I need to wait until this project has a stable release.
> 
> Mark
> 



--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to