-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add an option to cabal2nix
hook for specifying output filename.
#531
Conversation
0dc16c0
to
be16516
Compare
@sandydoo @NorfairKing Any thoughts on this PR ? |
I don't see a use case so think this needlessly complicating things but I also don't really care 🤷 |
It's required for me as I don't want pre-commit hook to generate a |
@sandydoo Could you please help with the review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM
The CI failure is unrelated. This branch needs a rebase on master. |
At present after enabling
cabal2nix
hook, it generates a file nameddefault.nix
which is hardcoded. It is better if user has an option to specify the filename instead of using hardcodeddefault.nix
.This PR adds an option to
cabal2nix
hook to specify output filename generated by runningcabal2nix
.Example: