
30 Jan
2022
30 Jan
'22
12:35 p.m.
On Sun, 30 Jan 2022, Johannes Waldmann wrote:
In cabal.project you can add:
package C extra-include-dirs: /usr/local/C/include extra-lib-dirs: /usr/local/C/lib
yes. That way I can build with cabal only (not stack) and I need to copy all my extra source repo locations from stack.yaml to cabal.project (and then need to maintain both files)OK, it's an option that I will consider.
You may consider putting extra-lib-dirs paths in your .cabal/config .