wezterm: sort passthru

This commit is contained in:
Sandro Jäckel
2024-09-24 13:05:26 +02:00
parent a6b5b8d799
commit 03aa7e6efe
@@ -123,18 +123,18 @@ rustPlatform.buildRustPackage rec {
'';
passthru = {
terminfo = runCommand "wezterm-terminfo" {
nativeBuildInputs = [ ncurses ];
} ''
mkdir -p $out/share/terminfo $out/nix-support
tic -x -o $out/share/terminfo ${src}/termwiz/data/wezterm.terminfo
'';
tests = {
all-terminfo = nixosTests.allTerminfo;
# the test is commented out in nixos/tests/terminal-emulators.nix
#terminal-emulators = nixosTests.terminal-emulators.wezterm;
};
terminfo = runCommand "wezterm-terminfo"
{
nativeBuildInputs = [ ncurses ];
} ''
mkdir -p $out/share/terminfo $out/nix-support
tic -x -o $out/share/terminfo ${src}/termwiz/data/wezterm.terminfo
'';
};
meta = with lib; {