-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use $CONFIGURE_ARGS or configure_ghc #12
Comments
I was curious about that too. I wasn't sure if On my machine, the message from
The $ typeset -f configure_ghc
configure_ghc ()
{
./configure $CONFIGURE_ARGS $@
} A couple of questions:
|
Everything works fine as long as you're in the nix-shell. If you try to use the compiled ghc binaries outside of it, they will complain about missing shared libraries (whereas they don't with |
$CONFIGURE_ARGS is probably better than configure_ghc, since non-nix users should be able to use the former without issues. One caveat though is that in zsh, one would have to write So, neither option is a silver bullet, unfortunately. |
ghc.nix recommends using
./configure $CONFIGURE_ARGS
, and also provides a convenience commandconfigure_ghc
which does the same.It seems like would make sense to recommend one of these here instead of a naked
./configure
, which is the case at the moment.The text was updated successfully, but these errors were encountered: