mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
haskell-generic-builder: set LOCALE_ARCHIVE only on Linux
This commit is contained in:
parent
0a97e2153e
commit
3e9e1a2f4e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,6 @@ stdenv.mkDerivation ({
|
|||
propagatedNativeBuildInputs = optionals hasActiveLibrary propagatedBuildInputs;
|
||||
|
||||
LANG = "en_US.UTF-8"; # GHC needs the locale configured during the Haddock phase.
|
||||
LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive";
|
||||
|
||||
setupCompilerEnvironmentPhase = ''
|
||||
runHook preSetupCompilerEnvironment
|
||||
|
@ -298,4 +297,5 @@ stdenv.mkDerivation ({
|
|||
// optionalAttrs (postInstall != "") { inherit postInstall; }
|
||||
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
||||
// optionalAttrs (postFixup != "") { inherit postFixup; }
|
||||
// optionalAttrs (stdenv.isLinux) { LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue