Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
haskell-generic-builder: revert "set LD_LIBRARY_PATH in shellHook"
This reverts commit e73e5c8. Please don't set $LD_LIBRARY_PATH! Instead, pass appropriate --extra-include-dir and --extra-lib-dir arguments to "cabal configure" to ensure that Cabal knows about system dependencies.
- Loading branch information
2c13435
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind that you reverted this, but I wonder if anything changed since we talked about this in #25398? I assume the issue that
cabal build
works butcabal repl
doesn't, because GHCI's builtin linker isn't aware of NIX_LDFLAGS, is still around.Maybe it is just me, but I found that not so great from a usability perspective and to some people the workaround, to pull the appropriate paths from NIX_LDFLAGS and set them via
cabal configure
, might not be obvious. Depending on how much you reconfigure it can also become tedious to do this manually.Ideally we would have some solution for this.