Unverified Commit 03aa7e6e authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

wezterm: sort passthru

parent a6b5b8d7
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -123,18 +123,18 @@ rustPlatform.buildRustPackage rec {
  '';

  passthru = {
    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"
      {
    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;
    };
  };

  meta = with lib; {