Merge pull request #20731 from expipiplus1/fix-ghc-env

ghcWithPackages: fix env NIX_GHC_LIBDIR value
This commit is contained in:
Peter Simons 2016-11-27 15:52:45 +01:00 committed by GitHub
commit b7deb143b2

View file

@ -304,7 +304,7 @@ stdenv.mkDerivation ({
export NIX_${ghcCommandCaps}="${ghcEnv}/bin/${ghcCommand}"
export NIX_${ghcCommandCaps}PKG="${ghcEnv}/bin/${ghcCommand}-pkg"
export NIX_${ghcCommandCaps}_DOCDIR="${ghcEnv}/share/doc/ghc/html"
export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/${ghcEnv.name}"
export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/${ghcCommand}-${ghc.version}"
${shellHook}
'';
};