-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't use the GHC from the PATH #246
Comments
What do you feel about using the same solution here as the one discussed in #252 for retrieving the package database: just ask the user to supply an environment variable. This is e.g. the approach I used to get stuff working with Nix in main...masaeedu:bypass_package_db_detection. |
I would much prefer if hawk just worked out of the box! As a nix user, I'm sure you're used to jumping through a lot of hoops in order to get software working and so setting one more environment variable is no big deal ;) As for the issue itself, I have a few ideas:
|
...or we could just not call ghc at runtime :) as #126 explains, we're calling ghc in order to compile the Hawk Prelude, and we're doing that in order to improve performance by using the compiled version of that code instead of the interpreted version, but it doesn't seem like that's actually working. |
the ghc when hawk is installed might not be the same as the ghc which is in the PATH when hawk is called. is there a way to capture ghc's installation path at compile-time so that it is used at runtime as well? if not, we should probably add a way to configure hawk to use a user-specified ghc. Few users are still going to have ghc-8.4.4 as their main ghc!
The text was updated successfully, but these errors were encountered: