Added autofail for shell scripts

This commit is contained in:
2026-03-19 13:19:21 -05:00
parent a9b19ca2f8
commit 2105c339f7
5 changed files with 5 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{ pkgs }:
pkgs.writeShellScriptBin "nixclean" ''
set -Eeuo pipefail
nix-collect-garbage -d
sudo -v
sudo nix-collect-garbage -d