lol

Merge pull request #24922 from phunehehe/haskell-shell-hook

haskell-modules: fix shell hook

authored by

Jörg Thalheim and committed by
GitHub
26f5fa8f 45cb7c2c

+5 -3
+5 -3
pkgs/development/haskell-modules/generic-builder.nix
··· 330 330 export NIX_${ghcCommandCaps}="${ghcEnv}/bin/${ghcCommand}" 331 331 export NIX_${ghcCommandCaps}PKG="${ghcEnv}/bin/${ghcCommand}-pkg" 332 332 export NIX_${ghcCommandCaps}_DOCDIR="${ghcEnv}/share/doc/ghc/html" 333 - '' + (if isHaLVM 334 - then ''export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/HaLVM-${ghc.version}"'' 335 - else ''export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/${ghcCommand}-${ghc.version}"'') + "${shellHook}"; 333 + ${if isHaLVM 334 + then ''export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/HaLVM-${ghc.version}"'' 335 + else ''export NIX_${ghcCommandCaps}_LIBDIR="${ghcEnv}/lib/${ghcCommand}-${ghc.version}"''} 336 + ${shellHook} 337 + ''; 336 338 }; 337 339 }; 338 340