haskell.packages.ghc941.terminfo: not a core pkg if cross compiling

Reference #182873 and #182785.
This commit is contained in:
sternenseemann 2022-07-26 21:11:49 +02:00
parent 078346d55e
commit 5a1b7ea735

View file

@ -39,7 +39,8 @@ self: super: {
stm = null;
system-cxx-std-lib = 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;