Cabal: updating environment variable in a dependency

17 Sep
2017
17 Sep
'17
12:21 a.m.
Hi all, I have two separate packages, a library and an app. In the library's Setup.hs I set the LIBRARY_PATH environment variable to a place where I install a custom C shared library, but when the app is built LIBRARY_PATH is empty. I realize that GHC can build and link C code but for the purposes of this project that wasn't workable. So is there a way to make this environment variable hack work or, even better, a good way a dependency can pass custom information to its dependents? Thanks! -deech
2850
Age (days ago)
2850
Last active (days ago)
0 comments
1 participants
participants (1)
-
aditya siram