about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
diff options
context:
space:
mode:
authormaralorn <malte.brandy@maralorn.de>2022-07-26 11:25:03 +0200
committerGitHub <noreply@github.com>2022-07-26 11:25:03 +0200
commitdd6432a863ae8510d481f1e0bfc7163a4d652e87 (patch)
tree6179b94e1d2cf0a1b14ec91633babee67d610237 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
parent062084413669bbb7e80294cc5384f58f772c1aa1 (diff)
parentf39aee2d8b8cf527a4a13f90bd57c8ceb345f3d7 (diff)
downloadnixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar.gz
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar.bz2
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar.lz
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar.xz
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.tar.zst
nixlib-dd6432a863ae8510d481f1e0bfc7163a4d652e87.zip
Merge pull request #182873 from sternenseemann/terminfo-cross
haskellPackages.terminfo: not a core pkg if cross compiling
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index cbe90d1b54b5..7f3354a62739 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -37,7 +37,8 @@ self: super: {
   rts = null;
   stm = null;
   template-haskell = null;
-  terminfo = null;
+  # GHC only builds terminfo if it is a native compiler
+  terminfo = if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then null else self.terminfo_0_4_1_5;
   text = null;
   time = null;
   transformers = null;