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

nix: modernize and init flake + fix time issue #25

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

Conversation

phip1611
Copy link
Contributor

  • update Nix toolchain
  • switch from niv to flake (tldr: Nix flakes are the de-facto standard way of packaging software with Nix + manage dependencies)
  • update README

@phip1611
Copy link
Contributor Author

@blitz can you review, please?

# Avoid luatex failing due to non-writable cache.
TEXMFVAR = "/tmp/texlive/";
TEXTMFHOME = "/tmp/texlive/";

preBuild = ''
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@blitz Is this the most idiomatic solution? Or do you have another idea?

Nix Flakes are the de-facto standard way of packaging Nix projects and managing
inputs/dependencies. It is easier to maintain and update than projects using niv
as dependency manager.

To use Nix commands with this flake, you need the following configuration for Nix:
`experimental-features = flakes nix-command`
This improves the Nix function pkgs.nix-gitignore.gitignoreSource as it doesn't take
into account all the unnecessary stuff.
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