nixos/terminfo, contour: mark contour broken, remove from enableAllTerminfo (#345827)

This commit is contained in:
Christina Sørensen 2024-10-03 19:00:56 +02:00 committed by GitHub
commit e7602822bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 28 additions and 15 deletions

View File

@ -24,25 +24,35 @@
config = {
# This should not contain packages that are broken or can't build, since it
# will break this expression
#
# Currently broken packages:
# - contour
#
# can be generated with:
# lib.attrNames (lib.filterAttrs
# (_: drv: (builtins.tryEval (lib.isDerivation drv && drv ? terminfo)).value)
# pkgs)
environment.systemPackages = lib.mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs.pkgsBuildBuild; [
alacritty
contour
foot
kitty
mtm
rio
rxvt-unicode-unwrapped
rxvt-unicode-unwrapped-emoji
st
termite
tmux
wezterm
yaft
]));
environment.systemPackages = lib.mkIf config.environment.enableAllTerminfo (
map (x: x.terminfo) (
with pkgs.pkgsBuildBuild;
[
alacritty
foot
kitty
mtm
rio
rxvt-unicode-unwrapped
rxvt-unicode-unwrapped-emoji
st
termite
tmux
wezterm
yaft
]
)
);
environment.pathsToLink = [
"/share/terminfo"

View File

@ -99,5 +99,8 @@ stdenv.mkDerivation (final: {
maintainers = with maintainers; [ moni ];
platforms = platforms.unix;
mainProgram = "contour";
# This was caused by boxed-cpp 1.4.2 -> 1.4.3
# More details in issue #345752
broken = true;
};
})