Replies: 2 comments 3 replies
|
This is one of the better-scoped proposals I've had - thank you. You did the thing most infra suggestions skip: stated the non-goals up front, kept the native path primary, and were honest that this is a reproducible reference environment rather than a fix for the underlying compatibility problems. And your premise checks out - I went back through the issues you cited (#1, #60, #147, #186, #157, #226, #242) and setup/dependency friction really is a recurring theme across a lot of different contributors, not a one-off. Where I land, though, is community-adaptation-first - and I want to explain the reasoning rather than just point you at a fork. The friction in those issues comes almost entirely from MiKTeX, apt, and general-setup users - the exact population that, as you note, mostly won't have Nix. So a flake helps the Nix-using slice and gives us a clean reference env, but it doesn't relieve the pain for the people actually filing those reports. Set against that, a So here's a genuine path, not a brush-off: build it in your fork (or a branch), and if you can show two things - that One thing worth noting: you're right that |
|
I made the fork and PR here, as to not spam your repo: I tried to add caching, but since this repo only depends on already existing tools, nix themselves has it cached so I removed the ci caching again as it did not yield any positive results (it took longer to revive the cache than pull cached deps again...). I kept the timing results for documentation purposes. The main gain by having this is a super simple dev-setup |
Uh oh!
There was an error while loading. Please reload this page.
Context
I have followed this repository for some time, and dependency/setup
friction seems to be a recurring theme:
docs: add Basic MiKTeX setup instructions for Windows #186, and currently cv/main_example.tex fails to compile on apt-packaged moderncv (Debian/Ubuntu TeX Live) #242)
texlive/texlive:latest, which can differ significantly frompackages users receive through apt (ci: add GitHub Actions workflow — LaTeX smoke compiles, skill lint, CLI typechecks, placeholder integrity #59 and cv/main_example.tex fails to compile on apt-packaged moderncv (Debian/Ubuntu TeX Live) #242)
The existing native setup instructions should remain the primary path,
since most users will not already use Nix.
Proposal
Would you be open to an optional
flake.nixandflake.lockfor usersand contributors who already use Nix?
A deliberately narrow first version could:
nix developflake.lockthrough
nix flake checkinstallation unchanged initially
untouched
This would provide a reproducible reference environment, not replace
direct fixes for platform compatibility problems such as cv/main_example.tex fails to compile on apt-packaged moderncv (Debian/Ubuntu TeX Live) #242.
Non-goals
I would not initially attempt to generate apt/
.deb, Flatpak, or Dockerreleases. The repository is template rather
than a single packaged application, and those distribution targets have
different runtime and user-data requirements.
An OCI image could be considered later if a concrete use case emerges.
I use Nix and would be happy to help prototype and validate this
direction. Would this be useful upstream, or would you prefer it to live
as a community adaptation?
All reactions