I am getting this error
ghc: could not execute: htfpp
when I try to load a file with {-# OPTIONS_GHC -F -pgmF htfpp #-} in its header.
I have installed htf successfully (v0.12)
How can I solve this (on Linux and on Windows)
Thank you!
I am getting this error
ghc: could not execute: htfpp
when I try to load a file with {-# OPTIONS_GHC -F -pgmF htfpp #-} in its header.
I have installed htf successfully (v0.12)
How can I solve this (on Linux and on Windows)
Thank you!
Copyright © 2021 Jogjafile Inc.
community-wiki answer for posterity:
htfppwas not in the path. To find how to alter the path, one looks in the~/.cabalfolder for aconfigfile and finds where cabal installs binaries by default. That directory needs to be added to the path, or the installed binary needs to be moved from there to a directory that is in the path. Then GHC can run it with the-pgmFflag.