
do you have access to a .cabal file for this build? ghc-options there might work, if including src/ doesn't cause problems for other modules. On Wed, Jul 30, 2025, 1:15 PM amindfv--- via Haskell-Cafe < haskell-cafe@haskell.org> wrote:
On Wed, Jul 30, 2025 at 03:23:09PM -0400, Brandon Allbery wrote:
Dunno about security implications (ignoring potential interactions with Safe Haskell) but it sounds like a code organization wart to me. Having to dig through source files to find variant import paths sounds like a nightmare for trying to understand a codebase.
Right - I've never needed this in a codebase before (and I hope never to need it again!), but for a very specific quirk of the system I'm working with (command line flags are out of my control, as is directory structure), this actually would be the easiest way forward, if it worked.
- Tom
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.