From 2ee5be1ed8fc27624cd1d6aade18dd603a5c8613 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sun, 28 Dec 2025 17:02:32 -0500 Subject: [PATCH 1/2] texlab: 5.24.0 -> 5.25.0 --- pkgs/by-name/te/texlab/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/te/texlab/package.nix b/pkgs/by-name/te/texlab/package.nix index 0a0cbb80a7b2..f098a0649281 100644 --- a/pkgs/by-name/te/texlab/package.nix +++ b/pkgs/by-name/te/texlab/package.nix @@ -14,16 +14,16 @@ let in rustPlatform.buildRustPackage rec { pname = "texlab"; - version = "5.24.0"; + version = "5.25.0"; src = fetchFromGitHub { owner = "latex-lsp"; repo = "texlab"; tag = "v${version}"; - hash = "sha256-gwF4cBlS43u2PfOQBxD7iq2JL9tUo8TPJqR0tWNdW9k="; + hash = "sha256-UI88DQjLRJRPgKX3A+PoLNzgm/9uJeNERTrzh5mnAEk="; }; - cargoHash = "sha256-9sAurVJSpLNgQvJOG7kSXHIr38MHsw3BhGAaxi9xjUE="; + cargoHash = "sha256-xDLKuAfLyo3V++OKb+anw9oHxehwUxqfnDCuT2GSDWw="; outputs = [ "out" ] ++ lib.optional (!isCross) "man"; @@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec { # generate the man page postInstall = lib.optionalString (!isCross) '' # TexLab builds man page separately in CI: - # https://github.com/latex-lsp/texlab/blob/v5.24.0/.github/workflows/publish.yml#L110-L114 + # https://github.com/latex-lsp/texlab/blob/v5.25.0/.github/workflows/publish.yml#L110-L114 help2man --no-info "$out/bin/texlab" > texlab.1 installManPage texlab.1 ''; From eb1879f5c0f56d7a455f7397e98da7a033541889 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 6 Dec 2025 01:18:41 -0500 Subject: [PATCH 2/2] texlab: prefer finalAttrs over rec --- pkgs/by-name/te/texlab/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/te/texlab/package.nix b/pkgs/by-name/te/texlab/package.nix index f098a0649281..7027ebf3f7d9 100644 --- a/pkgs/by-name/te/texlab/package.nix +++ b/pkgs/by-name/te/texlab/package.nix @@ -12,14 +12,14 @@ let isCross = stdenv.hostPlatform != stdenv.buildPlatform; in -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "texlab"; version = "5.25.0"; src = fetchFromGitHub { owner = "latex-lsp"; repo = "texlab"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-UI88DQjLRJRPgKX3A+PoLNzgm/9uJeNERTrzh5mnAEk="; }; @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Implementation of the Language Server Protocol for LaTeX"; homepage = "https://github.com/latex-lsp/texlab"; - changelog = "https://github.com/latex-lsp/texlab/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/latex-lsp/texlab/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ doronbehar @@ -56,4 +56,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; mainProgram = "texlab"; }; -} +})