Change:
Since is provided by the non-free on aarch64, I'm not able to install asciidoc-full or any software that requires it to create e.g. the man pages. Can we make an option different from ? /cc
Making new granular options is fine, but I think enableStandardFeatures should still include java. (Or else the option is dishonest.) Alternatively, can we switch to openjdk (assuming that works on aarch64)?
It was just recently changed to in I'm fine with granular options, even though it will be quite some work to make packages not use anymore.
Oh, so this problem is due to licensing, not wanting to use non-free software? I didn't pick up on that earlier. How about adding a disableJava option, that has priority over enableStandardFeatures? Hm, this feels like a local solution to a global problem.
is a good idea! What do you think should be the default?
If enableStandardFeatures is true, you should get java. Setting disableJava then enables standard features except those requiring java. I'm not sure if doing this (per package) is a good idea though. Isn't this the start of a new whack-a-mole game?
Yes, it's certainly not a perfect solution, but I can then use an overlay which sets for . Alternatively, we could enable Java for x86 only by default.
Perhaps it would be less confusing to have so the additive condition is positive.

Discussion:
# backends , enableDeckjsBackend ? false , enableOdfBackend ? false <ins> # java is problematic on some platforms, where it is unfree , enableJava ? true </ins> }: assert enableStandardFeatures ->

docbook_xml_dtd_45 != null && docbook5_xsl != null && docbook_xsl != null && <del> fop != null && </del> <ins> (fop != null || !enableJava) && </ins> # TODO: Package this: #  epubcheck != null && gnused != null &&

# filters assert enableExtraPlugins || enableDitaaFilter || enableMscgenFilter || enableDiagFilter || enableQrcodeFilter || enableAafigureFilter -> unzip != null; <del> assert enableExtraPlugins || enableDitaaFilter -> jre != null; </del> <ins> assert (enableExtraPlugins && enableJava) || enableDitaaFilter -> jre != null; </ins> assert enableExtraPlugins || enableMscgenFilter -> mscgen != null; assert enableExtraPlugins || enableDiagFilter -> blockdiag != null && seqdiag != null && actdiag != null && nwdiag != null; assert enableExtraPlugins || enableMatplotlibFilter -> matplotlib != null && numpy != null;

let <del> _enableDitaaFilter = enableExtraPlugins || enableDitaaFilter; </del> <ins> _enableDitaaFilter = (enableExtraPlugins && enableJava) || enableDitaaFilter; </ins> _enableMscgenFilter = enableExtraPlugins || enableMscgenFilter; _enableDiagFilter = enableExtraPlugins || enableDiagFilter; _enableQrcodeFilter = enableExtraPlugins || enableQrcodeFilter;

-e "s|^ASCIIDOC =.*|ASCIIDOC = '$out/bin/asciidoc'|"  -e "s|^XSLTPROC =.*|XSLTPROC = '${libxslt.bin}/bin/xsltproc'|"  -e "s|^DBLATEX =.*|DBLATEX = '${dblatexFull}/bin/dblatex'|"  <del> -e "s|^FOP =.*|FOP = '${fop}/bin/fop'|"  </del> <ins> ${optionalString enableJava ''-e "s|^FOP =.*|FOP = '${fop}/bin/fop'|"''}  </ins> -e "s|^W3M =.*|W3M = '${w3m}/bin/w3m'|"  -e "s|^LYNX =.*|LYNX = '${lynx}/bin/lynx'|"  -e "s|^XMLLINT =.*|XMLLINT = '${libxml2.bin}/bin/xmllint'|"