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.
This commit is contained in:
Fabian Haas
2026-07-05 01:40:02 +02:00
parent 232dbaecf9
commit df704e156d
+1 -4
View File
@@ -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