Commit Graph

12 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
c2e8a009ec netclient: 0.24.3 -> 0.25.0 2024-08-28 14:09:13 +00:00
R. Ryantm
edbecfd147 netclient: 0.24.2 -> 0.24.3 2024-07-19 03:40:17 +00:00
R. Ryantm
f2cbc7e331 netclient: 0.24.1 -> 0.24.2 2024-06-14 02:34:11 +00:00
R. Ryantm
8c779d7e05 netclient: 0.24.0 -> 0.24.1 2024-05-16 01:23:25 +00:00
R. Ryantm
0ff1a7e21b netclient: 0.23.0 -> 0.24.0 2024-04-18 01:55:49 +00: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
R. Ryantm
ac3412e799 netclient: 0.22.0 -> 0.23.0 2024-02-29 03:01:46 +00:00
R. Ryantm
d6e49fd804 netclient: 0.21.2 -> 0.22.0 2024-01-20 00:03:40 +00:00
R. Ryantm
33879dfbe6 netclient: 0.21.1 -> 0.21.2 2023-12-17 06:06:19 +00:00
R. Ryantm
4404b068b6 netclient: 0.21.0 -> 0.21.1 2023-10-17 12:08:39 +00:00
Vladimír Zahradník
202f059e7d netclient: init at 0.21.0 2023-10-09 15:58:01 +02:00