From e765057e363dd3812a79f1acb4ed680e83ddfcbd Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 8 Apr 2026 10:29:36 +0200 Subject: [PATCH] tix: init at 0-unstable-2026-04-07 --- pkgs/by-name/ti/tix/package.nix | 38 +++++++++++++++++++++++++++++++++ pkgs/top-level/aliases.nix | 1 - 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 pkgs/by-name/ti/tix/package.nix diff --git a/pkgs/by-name/ti/tix/package.nix b/pkgs/by-name/ti/tix/package.nix new file mode 100644 index 000000000000..040b48e45f14 --- /dev/null +++ b/pkgs/by-name/ti/tix/package.nix @@ -0,0 +1,38 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "tix"; + version = "0-unstable-2026-04-07"; + + src = fetchFromGitHub { + owner = "JRMurr"; + repo = "tix"; + rev = "6088dff2cc837ebf5e8c99494d7af8cc87150859"; + hash = "sha256-Zt0gSt/C1M4ue7K+CjcEyXk4+ox8m+AD3pDArOP2GAs="; + }; + + cargoHash = "sha256-6fPg5hvbBLDMnIHalJL1oTkKFrTCB4IDnCRYGa94J9E="; + + # Disabling failing tests: + # - thread 'generate_module_stub_from_evalmodules_and_use_it' (12980) panicked at crates/cli/tests/custom_stubs.rs:39:10: + # - thread 'formatting_returns_edits' (14384) panicked at crates/lsp/tests/e2e_formatting.rs:23:23: + checkFlags = [ + "--skip=generate_module_stub_from_evalmodules_and_use_it" + "--skip=formatting_returns_edits" + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A nix type checker/lsp"; + homepage = "https://github.com/JRMurr/tix"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + mainProgram = "tix"; + }; +}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 76007cb15d3c..2e1f2ced6343 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1980,7 +1980,6 @@ mapAliases { ticpp = throw "'ticpp' has been removed due to being unmaintained"; # Added 2025-09-10 timescaledb = throw "'timescaledb' has been removed. Use 'postgresqlPackages.timescaledb' instead."; # Added 2025-07-19 tinyxml2 = throw "The 'tinyxml2' alias has been removed, use 'tinyxml' for https://sourceforge.net/projects/tinyxml/ or 'tinyxml-2' for https://github.com/leethomason/tinyxml2"; # Added 2025-10-11 - tix = throw "'tix' has been renamed to/replaced by 'tclPackages.tix'"; # Converted to throw 2025-10-27 tkcvs = throw "'tkcvs' has been renamed to/replaced by 'tkrev'"; # Converted to throw 2025-10-27 tkgate = throw "'tkgate' has been removed as it is unmaintained"; # Added 2025-05-17 tkimg = throw "'tkimg' has been renamed to/replaced by 'tclPackages.tkimg'"; # Converted to throw 2025-10-27