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

Add render.enable and render.output options #1288

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MattSturgeon
Copy link

Allow downstream users to use the render module, without adding packages to perSystem.packages.

Motivation

In nixvim, we already have a MDBook based documentation site, similar to the flake.parts website.

We'd like to add some pages documenting flake-parts modules, so the render module would be useful to avoid re-implement things like evalWith ourselves.

However we don't need/want to add the generated-docs packages to our flake outputs. Instead, we'd iterate over perSystem.render.inputs ourselves, perhaps adding relevant derivations as passthru attrs on our main docs package.

Allow downstream users to use the render module, without adding packages
to `perSystem.packages`.
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.

1 participant