git-hooks.nix
git-hooks.nix copied to clipboard
Run shellcheck on installation hook tests
Because of the way the tests are written, this also runs shellcheck on each test derivation's shellHook, which gets a lot of coverage of the shellHooks in general.
Besides the obvious bash-level fixes, some of the warnings and errors I fixed by moving the logic out into nix, which felt a lot simpler.