Commit Graph

25 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
seth
dfa73af57d
temurin-bin: support riscv64-linux 2024-08-30 00:18:32 -04:00
Emily
4f93a66908 {{temurin,semeru{,-jre}}-bin-16,temurin{,-jre}-bin-{18,19,20}}: drop
These have all been end‐of‐life for more than 10 months.
2024-08-01 13:46:59 +01:00
Infinidoge
7717ee97b6
temurin-bin: update sources 2024-05-26 04:48:28 -04:00
Infinidoge
d9b2c5cff8
temurin-bin: formatting fixes 2024-05-26 04:48:28 -04:00
Infinidoge
2dea579e3e
temurin-bin: mark EOL releases as vulnerable 2024-05-26 04:48:28 -04:00
Infinidoge
64073966b4
temurin-bin: init at 22 2024-05-26 04:48:28 -04:00
Philip Taron
713d2074d6
temurin-bin: fix issue with 1-tuple impls
In Python, a parenthesized expression is a tuple iff there is a comma
between the parentheses. In order to have a 1-tuple, we need one more
comma.
2024-05-26 04:48:27 -04:00
annalee
0d7dc0efc5
treewide: throw on unsupported system src access 2024-04-05 02:30:42 +00:00
linsui
9823f42308 temurin-bin: set sourceProvenance 2023-12-18 22:24:53 +08:00
Infinidoge
d849c98d87 temurin-bin: init at 21 2023-10-25 09:39:42 -04:00
Infinidoge
aebe909b68 temurin-bin: update sources 2023-10-25 09:38:47 -04:00
sohalt
f1aea50754
temurin-bin: init 20.0.1 2023-07-02 07:51:52 +08:00
sohalt
3e01bd323b
temurin-bin/sources.json: regenerate 2023-07-02 07:51:52 +08:00
Sandro Jäckel
e0c22ecf8e javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
Artturi
c7e842df16
Merge pull request #209089 from amjoseph-nixpkgs/pr/temurin-bin/powerpc64le 2023-01-06 20:33:42 +02:00
Adam Joseph
549c82db11 temurin-bin/sources.json: regenerate 2023-01-04 13:02:52 -08:00
Adam Joseph
7361d240a8 temurin-bin/generate-sources.py: add ppc64le to rosetta stone 2023-01-04 13:02:46 -08:00
sternenseemann
b711b52d15 jre, temurin-bin: fix eval in pkgsCross.ghcjs.buildPackages
Since #200337 gobject-introspection propagates itself via
depsTargetTargetPropagated, so one doesn't have to add it to every
derivation twice. The problem is that gobject-introspection still is in
a lot of buildInputs and will thus propagate itself again for target,
breaking evaluation unnecessarily if gobject-introspection doesn't
evaluate on whatever the target platform turns out to be.

temurin-bin and openjdk19 caused such a situation via gtk3 which GHC's
JavaScript backend depends on. To fix evaluation of those packages in
pkgsCross.ghcjs.buildPackages, we'll just disable the features pulling
in gtk3 until this is fixed properly.
2023-01-04 00:02:29 +01:00
Matt McHenry
0e33de85ae temurin-bin: init 18.0.2 and 19.0.1 2022-11-05 21:51:00 -04:00
Matt McHenry
df8fdece7e temurin-bin: 8.0.345 -> 8.0.352; 11.0.16 -> 11.0.17; 17.0.4 -> 17.0.5
simple run of generate_sources.py
2022-11-05 21:51:00 -04:00
Yureka
8886c89d0e {temurin,adoptopenjdk}-bin: use alpine_linux os for musl libc 2022-10-12 20:28:59 +02:00
Yureka
d968a99bc0 {temurin,adoptopenjdk}-bin: regenerate sources.json 2022-10-12 20:28:59 +02:00
Yureka
f5ba2af2a2 {temurin,adoptopenjdk}-bin: add alpine_linux os to generate-sources script 2022-10-12 20:28:59 +02:00
taku0
c74221839b temurin-bin, semeru-bin: init at 17.0.3, adoptopenjdk-bin: remove 13, 14, 17
AdoptOpenJDK Hotspot is now Eclipse Temurin and AdoptOpenJDK OpenJ9 is
now IBM Semeru Runtime.

Adds `temurin-bin` and `semeru-bin` packages.

AdoptOpenJDK 13, 14, and 15 is no longer supported.  AdoptOpenJDK 13 and
14 are removed.  AdoptOpenJDK 15 is left only for some packages
depending it.
2022-09-12 16:29:36 +09:00