This commit causes Hydra to build `nixStatic` on non-NixOS platforms
for which nixStatic is known to build correctly.
Providing Hydra builds of `nixStatic` on these platforms allows users
to bootstrap their local nixpkgs system without either having to:
a. Trust binaries that came from a source other than Hydra or
b. Fight with their host distribution to satisfy all of nix's large
set of build dependencies (this is not easy!)
Currently there are two platforms in this set: mips64el-linux-gnuabi64
and powerpc64le-linux-gnu.
Since the default jdk changed to jdk19, DataExplorer fails at startup:
```console
$ ./result/bin/DataExplorer
java.lang.NullPointerException: Cannot read field "width" because the return value of "gde.config.Settings.getWindow()" is null
at gde.ui.DataExplorer.execute(DataExplorer.java:406)
at gde.GDE.main(GDE.java:544)
```
Therefore, pin to jdk17, which is also the latest recommended version by
upstream:
> The only requirement is the installation of a Java run-time of version
> 8 to Java 17 for the 32 bit versions and Java 11 to 17 for the 64 bit
> versions, such as IcedTea or open JDK.
https://www.nongnu.org/dataexplorer/index.html#Introduction
According to the issue linked at the end, filling arguments for `callPackage` in
all-packages.nix breaks splicing and makes the expressions incompatible with
cross-compilation.
This issue is more pronounced in the many `inherit (darwin)` calls. However, it
is present in similar contexts too.
The idea here is not the smartest: it just hides those inheritances from
`all-packages.nix` and sends them to the `default.nix` expressions.
Issue: https://github.com/NixOS/nixpkgs/issues/204303
According to the issue linked at the end, filling arguments for `callPackage` in
all-packages.nix breaks splicing and makes the expressions incompatible with
cross-compilation.
This issue is more pronounced in the many `inherit (darwin)` calls. However, it
is present in similar contexts too.
The idea here is not the smartest: it just hides those inheritances from
`all-packages.nix` and sends them to the `default.nix` expressions.
Issue: https://github.com/NixOS/nixpkgs/issues/204303