Skip to content

Commit a060434

Browse files
committed
build(nix): add cargo-deny checks to nix flake
1 parent ab53796 commit a060434

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@
132132
);
133133

134134
ssh-portfolio = pkgs.callPackage crate { };
135+
ssh-portfolio-deny = craneLib.cargoDeny commonCraneArgs // {
136+
cargoDenyExtraArgs = "--hide-inclusion-graph";
137+
};
135138

136139
in
137140
{
@@ -142,7 +145,7 @@
142145
};
143146

144147
checks = {
145-
inherit ssh-portfolio www;
148+
inherit ssh-portfolio ssh-portfolio-deny www;
146149
formatting = pkgs.runCommandLocal "treefmt-check" { buildInputs = [ pkgs.nixfmt-tree ]; } ''
147150
set -euo pipefail
148151
cp -r ${./.} workdir

0 commit comments

Comments
 (0)