You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shell hook in the env attribute of a ghcWithPackages derivation sets NIX_GHC_LIBDIR with the ghc derivation full name, rather than just the executable name and numeric version.
This isn't usually noticed because the ghc itself is wrapped with a wrapper which provides these correctly. Tools such as HaRe fail to work in this environment though.
Issue description
The shell hook in the
env
attribute of aghcWithPackages
derivation setsNIX_GHC_LIBDIR
with the ghc derivation full name, rather than just the executable name and numeric version.This isn't usually noticed because the ghc itself is wrapped with a wrapper which provides these correctly. Tools such as
HaRe
fail to work in this environment though.Steps to reproduce
Run:
Observe that the directory printed does not exist.
Technical details
The text was updated successfully, but these errors were encountered: