Skip to content

Commit

Permalink
Avoid double wrapping
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Ringer <[email protected]>
  • Loading branch information
jonringer authored and henrirosten committed Sep 13, 2024
1 parent 444ba45 commit 90b665e
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -210,23 +210,11 @@

pythonImportsCheck = ["sbomnix"];

postInstall = ''
wrapProgram $out/bin/sbomnix \
--prefix PATH : ${lib.makeBinPath [pkgs.git pkgs.nix pkgs.graphviz]}
wrapProgram $out/bin/nixgraph \
--prefix PATH : ${lib.makeBinPath [pkgs.nix pkgs.graphviz]}
wrapProgram $out/bin/nix_outdated \
--prefix PATH : ${lib.makeBinPath [pkgs.git nix-visualize]}
wrapProgram $out/bin/vulnxscan \
--prefix PATH : ${lib.makeBinPath [pkgs.git pkgs.grype pkgs.nix vulnix]}
wrapProgram $out/bin/provenance \
--prefix PATH : ${lib.makeBinPath [pkgs.nix]}
'';
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath (with pkgs; [
git nix graphviz nix-visualize vulnix grype
])}"
];
};
# a python with all python packages imported by sbomnix itself
python = pkgs.python3.withPackages (ps:
Expand Down

0 comments on commit 90b665e

Please sign in to comment.