Re: GHC API 7.10 -> 8.0.1 (unusable due to missing or recursive dependencies)

2017-01-07 Thread Edward Z. Yang
Hi A.M., It's very possible that the list in DynFlags are accumulated in reverse order to the flags that were provided. The manual is just talking about user provided flags. You may also be interested in https://downloads.haskell.org/~ghc/master/users-guide/extending_ghc.html#frontend-plugins

Re: GHC API 7.10 -> 8.0.1 (unusable due to missing or recursive dependencies)

2017-01-07 Thread A.M.
On 01/06/2017 10:37 PM, Edward Z. Yang wrote: > Hello A.M., > > In 8.0.1 package databases must be specified in the correct order, > whereas in 7.10 they could be done in any order. This problem > was fixed in 8.0.2, give it a try. Thanks for the tip, Edward. That was it! Following

GHC API 7.10 -> 8.0.1 (unusable due to missing or recursive dependencies)

2017-01-06 Thread A.M.
Hello, I am migrating a use of the GHC API from GHC 7.10 to GHC 8.0.1 and have hit an issue whereby importing pre-compiled libraries spits out: package testhsscript-0.1-CQQKGzp5pWwBmTnAldv1Hk is unusable due to missing or recursive dependencies: Glob-0.7.13-2PN6d9dpHzz7DHotD0T0wu base-4.9.0.0