Skip to content

Run shellcheck on installation hook tests#528

Open
nicknovitski wants to merge 1 commit intocachix:masterfrom
nicknovitski:shc
Open

Run shellcheck on installation hook tests#528
nicknovitski wants to merge 1 commit intocachix:masterfrom
nicknovitski:shc

Conversation

@nicknovitski
Copy link
Copy Markdown
Contributor

@nicknovitski nicknovitski commented Nov 20, 2024

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.

@nicknovitski
Copy link
Copy Markdown
Contributor Author

Rebased on master. I've also run the flake checks on aarch64-darwin.

@nicknovitski
Copy link
Copy Markdown
Contributor Author

Rebased and tested again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant