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

flake.nix: add overlay that exposes a resume-building function #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tomeon
Copy link
Contributor

@tomeon tomeon commented Nov 20, 2022

Marked this PR as a draft because it depends on #89.

This PR adds a Nix flake overlay output that defines the function pandocResume.buildResume. The idea is to allow users to store their resumes and any associated assets in a location of their choosing, and build their resume with the same Nix code as is used to build the resume stored in this project.

Idea for further improvement: add a Nix flake template that generates a Nix flake along the lines of the example flake demonstrated in the README.md changes.

@tomeon tomeon force-pushed the nix-flake-add-overlay branch 2 times, most recently from dbea413 to e0b513e Compare February 14, 2023 15:01
@tomeon tomeon marked this pull request as ready for review February 27, 2023 15:35
by adding `packages.<system>.default` and `devShells.<system>.default`,
which are used in the current flake output schema in place of,
respectively,  `defaultPackage.<system>` and `devShell.<system>`.

Retain `defaultPackage.<system>` and `devShell.<system>` for
compatibility with older Nix clients, but make them aliases for the
newer output schema attributes.
via a new `overlays` output.  This function is used for building resumes
stored in arbitrary locations.
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