Commit Graph
13 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
Sandro Jäckel 5ca88a0439 java-language-server: use headless jdk for maven 2024-07-22 11:31:23 +02:00
Sandro Jäckel ca6f2a62ca java-language-server: use headless jdk to reduce dependencies 2024-06-29 20:04:21 +02:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
superherointj 2c5961d4b7 java-language-server: normalize doCheck 2024-06-02 21:35:13 -03:00
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Philipp MildenbergerandWeijia Wang 2bb11b1c62 java-language-server: 0.2.38 -> 0.2.46 2023-09-07 02:37:37 +02:00
Weijia Wang 30464bb5c5 treewide: fix mvnHash 2023-07-31 21:13:40 +02:00
Weijia Wang e658ffa994 treewide: cleanup maven packages 2023-07-31 21:13:09 +02:00
Weijia Wang dca415554f treewide: replace mavenfod with buildMavenPackage 2023-06-20 19:59:30 +03:00
Tillerino 13dd515a92 maven: adjust hashes of pull-maven-dependencies derivations
Since the newer Maven pulls different versions of its own dependencies,
the hashes of these derivations all changed.
2023-06-20 13:15:27 +02:00
Weijia Wang c44a486d0a java-language-server: convert to mavenfod 2023-06-20 10:15:39 +03:00
ca2cc06e5d java-language-server: init at 0.2.38 (#131262)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-10 12:41:28 +02:00