Now I’m confused. Those instructions seem to use
cabal install --lib
which you say should not be recommended and is horrendously flaky?
Correct. However, they are the instructions of the person that wrote the program in question, so I think they’re worth trying. Furthermore, use of --package-env
is likely to make --lib
less flaky. A “proper” solution is significantly more complicated[1] and involves writing a .cabal
file.
[1] i.e. it would take me 5 minutes rather than 5 seconds to write down