Skip to content

Conversation

@hmajid2301
Copy link
Contributor

I tried to copy the gofmt and move it over to golines as the tooling is very similar.
https://github.com/segmentio/golines

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.

You have to import golines from pkgs and add it to tools. See tools.nix.

@sandydoo sandydoo added the enhancement New feature or request label Oct 10, 2024
@sandydoo sandydoo assigned sandydoo and unassigned sandydoo Oct 10, 2024
@hmajid2301
Copy link
Contributor Author

I have made the change, please let me know if I did it correctly? Thanks

type = types.submodule {
imports = [ hookModule ];
options.settings = {
flags = mkOption {
Copy link
Member

Choose a reason for hiding this comment

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

For what it's worth, all hooks accept an args option that does this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh good to know for the next one thanks

@sandydoo sandydoo merged commit 43983c5 into cachix:master Oct 16, 2024
4 checks passed
@hmajid2301 hmajid2301 deleted the add-golines branch October 17, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants