nixpkgs/pkgs/applications/audio/mopidy
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
..
bandcamp.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
default.nix
iris.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
jellyfin.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
local.nix
moped.nix treewide: normalize maintainers list formatting 2024-07-30 16:26:22 +02:00
mopidy.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mopify.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
mpd.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
mpris.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
muse.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
musicbox-webclient.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
notify.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
podcast.nix treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
scrobbler.nix treewide: Remove ending period from meta.description 2024-06-09 23:04:51 +02:00
somafm.nix
soundcloud.nix
spotify.nix mopidy-spotify: 4.1.1-unstable-2024-02-27 -> 5.0.0a2 2024-07-03 16:44:10 -04:00
subidy.nix
tidal.nix
tunein.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
youtube.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ytmusic.nix