Re: please help with ghc package-db flags

2021-09-28 Thread Sylvain Henry
Hi, Could you try with `-package-env -` to disable package environment misfeature. Especially with Asterius as it may mix packages for the host with target packages that use WebAssembly... (I have been bitten by this 2 years ago IIRC). Sylvain On 27/09/2021 22:50, Norman Ramsey wrote:

Re: please help with ghc package-db flags

2021-09-27 Thread Brandon Allbery
Not necessarily filesystem; also check GHC_PACKAGE_PATH in the environment. On Mon, Sep 27, 2021 at 4:51 PM Norman Ramsey wrote: > I've traced some troubles to a problem with GHC's response > to the -clear-package-db and -package-db flags. I would very much > like to know if others can

please help with ghc package-db flags

2021-09-27 Thread Norman Ramsey
I've traced some troubles to a problem with GHC's response to the -clear-package-db and -package-db flags. I would very much like to know if others can duplicate this issue. All that is needed is for you to try the following commands, or whatever variations may be appropriate for whatever ghc