Commit Graph

22 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
R. Ryantm
e10fa9b5e2 java-service-wrapper: 3.5.58 -> 3.5.59 2024-07-25 03:01:12 +00:00
R. Ryantm
7f1b3bc636 java-service-wrapper: 3.5.57 -> 3.5.58 2024-06-29 12:54:52 +00:00
R. Ryantm
9671b0c132 java-service-wrapper: 3.5.56 -> 3.5.57 2024-05-22 16:21:50 +00:00
R. Ryantm
bca104b0e5 java-service-wrapper: 3.5.54 -> 3.5.56 2024-03-06 02:40:21 +00:00
superherointj
cccafb74f1 pkgsMusl.java-service-wrapper: mark broken for musl
Tracking issue: https://github.com/NixOS/nixpkgs/issues/281557
2024-02-17 21:36:03 +11:00
superherointj
47e473acca java-service-wrapper: enable aarch64-linux platform 2024-01-12 09:41:16 -03:00
Doron Behar
1308c646c7
Merge pull request #266110 from linsui/jsw
java-service-wrapper: build with latest jdk
2023-12-01 11:07:37 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
linsui
826ee3f67d java-service-wrapper: build with latest jdk 2023-11-24 02:16:03 +08:00
R. Ryantm
cb7698173a java-service-wrapper: 3.5.53 -> 3.5.54 2023-05-25 04:40:35 +00:00
R. Ryantm
0981f73014 java-service-wrapper: 3.5.51 -> 3.5.53 2023-03-21 06:03:58 +00:00
R. Ryantm
ded2adfe02 java-service-wrapper: 3.5.50 -> 3.5.51 2023-01-02 21:19:20 +08:00
R. Ryantm
a1901b9fdb java-service-wrapper: 3.5.49 -> 3.5.50 2022-07-31 15:06:05 +00:00
R. RyanTM
1bfcbcc05d
java-service-wrapper: 3.5.48 -> 3.5.49
* java-service-wrapper: 3.5.48 -> 3.5.49 (#161255)

* java-service-wrapper: update meta
changelog and SPDX3 license identifier
and run pre- and post- hooks

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-22 22:37:57 +01:00
R. RyanTM
c5070b61b2
java-service-wrapper: 3.5.46 -> 3.5.48
(#152835)
2022-01-12 00:27:15 +01:00
Luflosi
a124ea43a1
java-service-wrapper: 3.5.45 -> 3.5.46 2021-09-22 13:37:17 +02:00
R. RyanTM
4c2363851f java-service-wrapper: 3.5.43 -> 3.5.45 2021-01-19 16:21:09 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
ff54badc61 java-service-wrapper: 3.5.42 -> 3.5.43 2020-03-08 13:11:20 +00:00
R. RyanTM
ac3573112d java-service-wrapper: 3.5.41 -> 3.5.42 2020-02-08 12:04:17 +00:00
Сухарик
6b73f36618 java-service-wrapper: init at 3.5.41 2019-11-30 02:48:38 +03:00