diff options
| -rw-r--r-- | default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix index cb405e3..c7c5bc4 100644 --- a/default.nix +++ b/default.nix @@ -27,7 +27,8 @@ with pkgs.stdenv; rec { name = "${baseAttrs.name}-shellcheck"; buildInputs = baseAttrs.buildInputs ++ [ shellcheck ]; buildPhase = '' - find . -type f -name '*.sh' | xargs shellcheck + ignored='(secrets/)' + find . -type f -name '*.sh' | grep -E -v $ignored | xargs shellcheck touch $out ''; }); |
