diff options
author | Peter Simons <simons@cryp.to> | 2015-02-25 19:49:39 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-03-09 15:55:25 +0100 |
commit | 3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5 (patch) | |
tree | 9916cd4cd3573113b9dea47c293852aff53d8a8c /pkgs/development/haskell-modules/generic-builder.nix | |
parent | 0a97e2153e0546b47b39149f245f2a7c0e384f2c (diff) | |
download | nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar.gz nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar.bz2 nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar.lz nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar.xz nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.tar.zst nixlib-3e9e1a2f4e70a09445da2f9ad0227dc66185d2c5.zip |
haskell-generic-builder: set LOCALE_ARCHIVE only on Linux
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index f1495422edbc..73851786f830 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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"; } ) |