diff options
Diffstat (limited to 'utils.nix')
-rw-r--r-- | utils.nix | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,8 @@ in rec { baseTask.overrideAttrs (baseAttrs: rec { name = "${baseAttrs.name}-shellcheck"; buildInputs = baseAttrs.buildInputs ++ [ pkgs.shellcheck ]; - ignoredPattern = if ignoredFindPattern == null then "" else ignoredFindPattern; + ignoredPattern = + if ignoredFindPattern == null then "" else ignoredFindPattern; buildPhase = '' find . -type f \( -name '*.sh' -and -regextype egrep ! -regex '${ignoredPattern}' \) -print0 | xargs -0 shellcheck touch $out |