You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the best place to configure a make-based project's tests is via mkDerivation's checkPhase.
It's unclear how best to interoperate between pre-commit hooks and checkPhase though. I think I'd like to have package tests run in a pre-commit hook. Maybe also flake checks. pre-commit.check.enable seems backwards IIUC. pre-commit should run flake stuff, not the other way around.
The text was updated successfully, but these errors were encountered:
Follow-up to #277 (comment).
It seems that the best place to configure a
make
-based project's tests is viamkDerivation
'scheckPhase
.It's unclear how best to interoperate between pre-commit hooks and
checkPhase
though. I think I'd like to have package tests run in a pre-commit hook. Maybe also flake checks.pre-commit.check.enable
seems backwards IIUC. pre-commit should run flake stuff, not the other way around.The text was updated successfully, but these errors were encountered: