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

Build with Nix #85

Merged
merged 3 commits into from
Sep 1, 2022
Merged

Build with Nix #85

merged 3 commits into from
Sep 1, 2022

Conversation

chfanghr
Copy link
Contributor

@chfanghr chfanghr commented Jun 15, 2022

From nixos.org:

Nix provides developers with a complete and consistent development environment. Stop worrying how to install dependencies for your project.

With nix, we can build without installing any tools manually. The build environment also works identically across multiple os/arch.

@mszep
Copy link
Owner

mszep commented Aug 12, 2022

Super interesting!
I'll test it when I get a chance, and when if I can get it to work, will merge!
Thanks for taking the time to submit a PR :-)

@Skarlett
Copy link

Skarlett commented Aug 24, 2022

I can confirm PR work. shell.nix and flake.nix work.

the notable changes is that you use nix build to create the resume (instead of make) which will also bring in & cache all the dependencies (pandoc, texlive, gnumake).

instead of selecting a single file format to be created (pdf/html/etc), each format is generated inside of the result directory.

this largely is an alternative building method preferable to those who use nix as a package manager, and doesn't effect anything else at large.

@mszep
Copy link
Owner

mszep commented Sep 1, 2022

This is awesome, thank you both!

@mszep mszep merged commit de27970 into mszep:master Sep 1, 2022
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.

3 participants