nixpkgs/pkgs/by-name/sw
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
..
sway
sway-assign-cgroups pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
sway-audio-idle-inhibit sway-audio-idle-inhibit: unstable-2023-08-09 -> 0.1.2 2024-09-21 16:39:22 +02:00
sway-easyfocus
sway-new-workspace
sway-overfocus
sway-scratch
sway-unwrapped
swaybg
swaycons
swaycwd
swayest-workstyle
swayfx
swayfx-unwrapped
swayidle
swayimg
swaylock
swaylock-effects pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
swaylock-fancy
swaymux
swayosd
swayws
swaywsr
sweet
sweet-folders
swell-foop
swiftlint swiftlint: 0.56.1 -> 0.57.0 2024-09-11 00:17:00 +01:00
swig swig: format with nixfmt-rfc-style 2024-09-12 18:39:57 +01:00
swipe-guess
switch-to-configuration-ng
switcheroo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
switchres switchres: init at 2.2.1 2024-09-19 23:14:14 +08:00
sword
swt swt: sha256hash 2024-09-15 09:31:45 +00:00
swww