git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

Run shellcheck for <nixpkgs>.writers scripts

Open dantefromhell opened this issue 2 years ago • 0 comments

Scripts maintained from within a flake.nix file, e.g. with <nixpkgs>.writers.writeBashBin will not be checked by shellcheck as filename based matching does not pick them up.

shellcheck supports reading code from STDIN (see https://github.com/koalaman/shellcheck/issues/1586), it would be super-neat if shellcheck would also been run against scripts within flake.nix files.

dantefromhell avatar Jan 18 '23 21:01 dantefromhell