From a344556c2d0ce35b5475c84e16ecad49db84943d Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Mon, 16 Nov 2026 15:38:45 +0100 Subject: [PATCH 1/2] beszel: 0.21.1 -> 0.21.2 Changelog: https://github.com/henrygd/beszel/releases/tag/v0.21.2 Assisted-by: Claude Code (Claude Opus 5.5) --- pkgs/by-name/be/beszel/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/be/beszel/package.nix b/pkgs/by-name/be/beszel/package.nix index 8e3cae9cbdd6..d69b2851a5ab 100644 --- a/pkgs/by-name/be/beszel/package.nix +++ b/pkgs/by-name/be/beszel/package.nix @@ -9,13 +9,13 @@ }: buildGo127Module (finalAttrs: { pname = "beszel"; - version = "0.21.1"; + version = "0.21.2"; src = fetchFromGitHub { owner = "henrygd"; repo = "beszel"; tag = "v${finalAttrs.version}"; - hash = "sha256-OB1pbfUKeE+tu/ehhoJhkPBmOBDLiQzGxb74bin2Qmg="; + hash = "sha256-O5RtDg6V7RBjV7Pe75YppGz8JSVziwfvLBYDD/l6ZAc="; }; webui = buildNpmPackage { @@ -52,7 +52,7 @@ buildGo127Module (finalAttrs: { npmDepsHash = "sha256-pL4Qmi17CC4t6G/Mw/AgZUPf6cl0UPm75zfHVfrkoKI="; }; - vendorHash = "sha256-NStpXYnaVkJxmzT1fIPFqSNbNSJqpnC0LsVQweFOwcI="; + vendorHash = "sha256-VDFdCoVIB1idUo1Buek6Im4uwYMduYY/PEdSJFgLuFo="; preBuild = '' mkdir -p internal/site/dist From bf777a7400ffd0158441a6a4d47cc65ead163145 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Mon, 16 Nov 2026 15:38:45 +0100 Subject: [PATCH 2/2] beszel: build with no_self_update tag `beszel-hub update` and `beszel-agent update` download a release binary from GitHub and replace the running executable, which cannot work on a read-only Nix store path and would bypass Nix anyway. Since v0.21.2 upstream provides the `no_self_update` build tag for package managers: `update` is hidden from the help output, prints "self-update is disabled in this build; use your package manager to update" and exits with status 1. Also pass the tag to the tests so the upstream test for this behavior runs. Ref: https://github.com/henrygd/beszel/issues/2724 Assisted-by: Claude Code (Claude Opus 5.5) --- pkgs/by-name/be/beszel/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/be/beszel/package.nix b/pkgs/by-name/be/beszel/package.nix index d69b2851a5ab..c98f5199b8ca 100644 --- a/pkgs/by-name/be/beszel/package.nix +++ b/pkgs/by-name/be/beszel/package.nix @@ -52,6 +52,8 @@ buildGo127Module (finalAttrs: { npmDepsHash = "sha256-pL4Qmi17CC4t6G/Mw/AgZUPf6cl0UPm75zfHVfrkoKI="; }; + tags = [ "no_self_update" ]; + vendorHash = "sha256-VDFdCoVIB1idUo1Buek6Im4uwYMduYY/PEdSJFgLuFo="; preBuild = '' @@ -82,7 +84,7 @@ buildGo127Module (finalAttrs: { in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" - "-tags=testing,no_ui" + "-tags=testing,no_ui,no_self_update" ]; postInstall = ''