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

A nix flake for the final rendered result #133

Merged
merged 7 commits into from
Dec 7, 2023
Merged

A nix flake for the final rendered result #133

merged 7 commits into from
Dec 7, 2023

Conversation

nathan-at-least
Copy link
Contributor

@nathan-at-least nathan-at-least commented Dec 6, 2023

This adds a nix flake (the modern nix packaging format) which produces the rendered html as the package.

This means any nix user can run `nix profile install 'github:Electric-Coin-Company/tfl-book' to install the rendered html locally.

This also adds CI which ensures the nix build and check processes complete without failure.

daira
daira previously approved these changes Dec 6, 2023
Copy link
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

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

test review

@nathan-at-least nathan-at-least changed the title WIP: a nix flake A nix flake for the final rendered result Dec 6, 2023
README.md Outdated Show resolved Hide resolved
flake.nix Show resolved Hide resolved
Copy link
Collaborator

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK modulo suggestion to add mdbook-katex to buildInputs.

@daira daira merged commit 4ec80a0 into main Dec 7, 2023
2 checks passed
@daira daira deleted the nix-flake branch December 7, 2023 16:08
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.

2 participants