Commit Graph

8 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
32ba582b2a rustdesk-server: 1.1.11 -> 1.1.11-1 2024-08-12 00:50:26 +00:00
R. Ryantm
15dd55b6da rustdesk-server: 1.1.10-3 -> 1.1.11 2024-05-29 06:48:35 +00:00
R. Ryantm
630cbdf5bb rustdesk-server: 1.1.9 -> 1.1.10-3 2024-01-31 09:43:38 +00:00
Gaël Reyrol
7869770b23
rustdesk-server: 1.1.8 -> 1.1.9 2023-12-05 17:24:45 +01:00
Theodore Ni
1571a1aacf rustdesk-server: fix darwin builds 2023-07-26 09:27:36 +02:00
Theodore Ni
a403fd8565 rustdesk-server: add tjni as a maintainer 2023-07-26 09:27:36 +02:00
Gaël Reyrol
1e0904de34
rustdesk: init at 1.1.8 2023-07-15 01:58:02 +02:00