aboutsummaryrefslogtreecommitdiff
path: root/utils.nix
diff options
context:
space:
mode:
Diffstat (limited to 'utils.nix')
-rw-r--r--utils.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.nix b/utils.nix
index b41e9f5..fd25021 100644
--- a/utils.nix
+++ b/utils.nix
@@ -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