From 5c501951d553acd041de076f49d3f2dd979e93ac Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Mon, 23 Feb 2026 23:47:48 +0000 Subject: [PATCH 1/2] buildstream: ignore Git tags containing `*dev*` Tags containing `*dev*` on official BuildStream projects are for pre-releases, and should not be included in the passthru updateScript. This is needed after https://github.com/NixOS/nixpkgs/pull/493236 showed a issue with the updateScript. --- pkgs/by-name/bu/buildstream/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bu/buildstream/package.nix b/pkgs/by-name/bu/buildstream/package.nix index 116e151c3b9b..134d77e4c660 100644 --- a/pkgs/by-name/bu/buildstream/package.nix +++ b/pkgs/by-name/bu/buildstream/package.nix @@ -2,7 +2,7 @@ lib, python3Packages, fetchFromGitHub, - nix-update-script, + gitUpdater, # buildInputs buildbox, @@ -119,7 +119,9 @@ python3Packages.buildPythonApplication (finalAttrs: { versionCheckProgram = "${placeholder "out"}/bin/bst"; - passthru.updateScript = nix-update-script { }; + passthru.updateScript = gitUpdater { + ignoredVersions = "dev"; + }; meta = { description = "Powerful software integration tool"; From f8a58eb351b3ffae4721896cd7f0113c7bda529d Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Fri, 27 Feb 2026 17:17:10 +0000 Subject: [PATCH 2/2] buildstream-plugins: ignore Git tags containing `*dev*` Tags containing `*dev*` on official BuildStream projects are for pre-releases, and should not be included in the passthru updateScript. This is needed after https://github.com/NixOS/nixpkgs/pull/493236 showed a issue with the updateScript. --- .../python-modules/buildstream-plugins/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/buildstream-plugins/default.nix b/pkgs/development/python-modules/buildstream-plugins/default.nix index 201db0932bab..1159c4cafab5 100644 --- a/pkgs/development/python-modules/buildstream-plugins/default.nix +++ b/pkgs/development/python-modules/buildstream-plugins/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + gitUpdater, setuptools, cython, }: @@ -29,6 +30,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "buildstream_plugins" ]; + passthru.updateScript = gitUpdater { + ignoredVersions = "dev"; + }; + meta = { description = "BuildStream plugins"; homepage = "https://github.com/apache/buildstream-plugins";