diff options
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ | |||
134 | while IFS= read -r -d $'\0' sopsFile; do | 134 | while IFS= read -r -d $'\0' sopsFile; do |
135 | ${pkgs.sops}/bin/sops --output="''${sopsFile%.sops}" --decrypt "''${sopsFile}" | 135 | ${pkgs.sops}/bin/sops --output="''${sopsFile%.sops}" --decrypt "''${sopsFile}" |
136 | rm "''${sopsFile}" | 136 | rm "''${sopsFile}" |
137 | done < <(find ./. "$patchDir" -type f -name '*.sops' -print0) | 137 | done < <(find ./. "$patchDir" -not \( \( -path ./tmp -a -prune \) -o \( -path ./build_dir -a -prune \) -o \( -path ./bin -a -prune \) \) -a \( -type f -a -name '*.sops' -a -print0 \)) |
138 | 138 | ||
139 | while IFS= read -r -d $'\0' patchFile; do | 139 | while IFS= read -r -d $'\0' patchFile; do |
140 | patch -p1 --batch <$patchFile | 140 | patch -p1 --batch <$patchFile |