Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

GHC flags taken into account too late #152

Open
nomeata opened this issue Mar 26, 2020 · 0 comments
Open

GHC flags taken into account too late #152

nomeata opened this issue Mar 26, 2020 · 0 comments

Comments

@nomeata
Copy link
Collaborator

nomeata commented Mar 26, 2020

It seems that

hs-to-coq --ghc -package-env=hs-to-coq.env

doesn’t work the way it should, but

GHC_ENVIRONMENT=hs-to-coq.env hs-to-coq

does.

Some wild guess: We need to extract the --ghc flags and pass them to the GHC API earlier, maybe in lib/HsToCoq/Util/GHC.hs.

(Not working on that right now, the work-around is fine for now.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant