Skip to content

Fix install.enable option and enable hook stage config in run derivation#689

Open
mitchallain wants to merge 6 commits intocachix:masterfrom
mitchallain:master
Open

Fix install.enable option and enable hook stage config in run derivation#689
mitchallain wants to merge 6 commits intocachix:masterfrom
mitchallain:master

Conversation

@mitchallain
Copy link

@mitchallain mitchallain commented Feb 13, 2026

fix install.enable option
this option's behavior does not match the description. Prior to this PR it bypasses building the yaml config. This PR defines a no-install branch in the installationScript which only builds and symlinks the .pre-commit-config.yaml

runHookStage option
If the user wants custom default_stages (e.g., pre-push) the run derivation needs an option to dictate which hook-stage gets run. This allows the user to append manual to default_stages and then invoke the manual hook-stage.

@sandydoo sandydoo added enhancement New feature or request flake Related to running in pure environments labels Feb 25, 2026
Copy link
Member

@sandydoo sandydoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Couple of small things to fix and lets merge.

@mitchallain mitchallain requested a review from sandydoo February 25, 2026 22:45
@mitchallain
Copy link
Author

@sandydoo still interested in landing this? Should be ready for another round

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

Labels

enhancement New feature or request flake Related to running in pure environments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants