Merge pull request #32821 from ttuegel/haskell/shell-env-build-inputs

haskell: set buildInputs in nix-shell env
This commit is contained in:
Peter Simons
2017-12-20 20:58:31 +01:00
committed by GitHub

View File

@@ -362,7 +362,8 @@ stdenv.mkDerivation ({
env = stdenv.mkDerivation {
name = "interactive-${pname}-${version}-environment";
nativeBuildInputs = [ ghcEnv systemBuildInputs ];
buildInputs = systemBuildInputs;
nativeBuildInputs = [ ghcEnv ];
LANG = "en_US.UTF-8";
LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
shellHook = ''