-
Notifications
You must be signed in to change notification settings - Fork 247
Build without GHC environment files, instead using wrappers #78
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
Conversation
3454081
to
73c44be
Compare
I tested this today. There was an error when building: https://github.com/input-output-hk/iohk-monitoring-framework/tree/v0.1.5.0/contra-tracer:
unlit support is missing I guess? |
Why does it look for |
|
Thanks for trying it @jbgi -- I also got the error with |
@jbgi right. It's usually part of the ghc distribution. The path |
cd1b607
to
3900ec9
Compare
2b29320
to
1e5f356
Compare
I merged in the unlit fix and cleaned it up a little. |
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.
LGTM. Maybe fix the alignment?
@@ -221,7 +222,6 @@ stdenv.mkDerivation ({ | |||
}; | |||
|
|||
CABAL_CONFIG = configFiles + /cabal.config; | |||
GHC_ENVIRONMENT = configFiles + /ghc-environment; |
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.
🙌
Lets development shells work.
5388894
to
72174cb
Compare
# ... remove all of the package directories | ||
rm -rf ${libDir}/*/ | ||
# ... but retain the lib/ghc/bin directory. This contains `unlit' and friends. | ||
ln -s ${ghc}/lib/${ghcCommand}-${ghc.version}/bin ${libDir} |
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.
It's hard to see because I've renamed the file but @angerman please note that I have changed the unlit&friends fix to link the bin
directory rather than using lndir
.
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.
@rvl should be identical. So I'm ok wither way :-)
* Add support for the new LTS formats. * Cleanup * drop pkg_versions.txt
* Add support for the new LTS formats. * Cleanup * drop pkg_versions.txt
This lets ghci work in development shells.
Fixes #44.