Skip to content

Broken Flake

Broken Flake

  • arara version: 7.1.0
  • arara flake version: 7.0.0
  • operating system: Linux (NixOS)
  • TeX distribution: Standalone
  • Affected files: flake.nix (at commit) bd8aaa

Dear maintainers of the project,

the topic of this bug is the flake you provide in your repository.

Under normal circumstances it is unnecessary to use, as you would usually install arara as part of a LaTeX distribution (say: TeXLive), but the new(er) version(s) of arara is/are only available as part of the 2023 TeXLive distribution. Now, the TeXLive 2023 distribution is not yet in the Nix repos, thus I attempted to just work with the 2022 distribution of LaTeX and add arara via the flake you provided.

Now to the bug itself: your flake uses the web to access to download https://services.gradle.org/distributions/gradle-7.4.2-bin.zip as part of the build process. Since flakes are sandbox'ed (as I found out today after researching why the build fails), they don't have the option to access the internet and dependencies have to be provided in different ways, such as either loading them as nix packages or providing them in the repository (note: this is my personal intuition, not a consensus - I am no expert in Nix [yet]).

So, in short: I would appreciate if you could patch this in a way you deem fitting. That said: I know you guys do this in your spare time and as a passion project, this is by no means a critical bug - I can swap to my Arch Installation in the meantime; just something I noticed!

A huge thank you for making my LaTeX experience so pleasant and preventing the creation of a Makefile per project

Reproduction

It should be reproducible with just the Nix package manager, but I can only verify for NixOS:

nix build gitlab:islandoftex/arara

Miscellaneous

  • I have searched the issues for my problem.
  • I have asked somewhere else for help.

(I have received help in identifying the issue on the Official Matrix Channel of NixOS, I'm not sure how I would link or quote this. Should it be necessary I can provide you with quotes from there; though I believe I already mentioned all the relevant info.)