Skip to content
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

Fixes #293

Merged
merged 3 commits into from
Jan 3, 2025
Merged

Fixes #293

merged 3 commits into from
Jan 3, 2025

Conversation

roberth
Copy link
Contributor

@roberth roberth commented Jan 3, 2025

inherit mkFormatterModule;
};

/**
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've take the liberty to use the new, standard doc comment syntax, and the documentation conventions Nixpkgs uses.

Comment on lines 29 to 33

showOptionParent = opt: n:
assert opt._type == "option";
lib.showOption (lib.take (lib.length opt.loc - 1) opt.loc);
Copy link
Contributor Author

@roberth roberth Jan 3, 2025

Choose a reason for hiding this comment

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

@brianmcgee brianmcgee requested a review from zimbatm January 3, 2025 11:08
This makes `default.nix` the "thin waist" entrypoint of the project,
making `flake-module.nix` a mere "helper" that uses a function from
`default.nix`.

The new `submoduleWith` includes `mkFormatterModule` which was
accidentally forgotten in an earlier commit.
Also fixes an evaluation error
@phaer
Copy link
Member

phaer commented Jan 3, 2025

Just as I was wondering how to interpret your comment about submoduleWith correctly, there's already a PR - Thank you!

EDIT: tested the wrong commit, this one works fine :)

@phaer phaer enabled auto-merge January 3, 2025 11:47
@phaer phaer merged commit 29806ab into numtide:main Jan 3, 2025
3 checks passed
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.

Flake module infinite recursion
2 participants