From df704e156dd583b8d9b6c93437785fb1f28e61bb Mon Sep 17 00:00:00 2001 From: Fabian Haas <29468630+hfxbse@users.noreply.github.com> Date: Sun, 5 Jul 2026 01:25:24 +0200 Subject: [PATCH] sbomnix: use the latest Nix version in `$PATH` again Undoes the previous workaround for the new JSON derivation format, which pinned the runtime Nix version to 2.31. As sbomnix no longer supports the legacy derivation format starting with 1.8.0 and the new JSON format is only available starting with Nix 2.33, now the workaround causes sbomnix to fail. --- pkgs/by-name/sb/sbomnix/package.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/by-name/sb/sbomnix/package.nix b/pkgs/by-name/sb/sbomnix/package.nix index 0e1560768102..6220091fb1bf 100644 --- a/pkgs/by-name/sb/sbomnix/package.nix +++ b/pkgs/by-name/sb/sbomnix/package.nix @@ -4,7 +4,6 @@ git, grype, nix, - nixVersions, nix-visualize, python3, vulnix, @@ -31,9 +30,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { "--prefix PATH : ${ lib.makeBinPath [ git - # nix - # TODO: remove once sbomnix support new JSON format: https://github.com/tiiuae/sbomnix/issues/267 - nixVersions.nix_2_31 + nix python3.pkgs.graphviz nix-visualize vulnix