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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user