I have just spent quite a while building bindings-gpgme
for macOS (with stack and homebrew) — it telling me that it could not find header files/libraries, no matter what steps I took to make them available.
It turns out the issue was with the libgpg-error
header files not being installed on the include path, causing the inclusion of gpgme.h
to fail. This 2018 nixpkgs issue eventually put me on the right path.
You might want to leave this issue open to warn others.