nixpkgs/nixos/modules/services/audio
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
..
alsa.nix nixos-alsa: remove with lib;, fix undefined references 2024-07-15 10:33:34 +03:00
botamusique.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
gmediarender.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
gonic.nix Merge pull request #299762 from autrimpo/gonic-0.16.3 2024-04-18 02:01:35 +02:00
goxlr-utility.nix goxlr-utility: 1.1.1 -> 1.1.1-unstable-2024-08-06 2024-08-08 14:20:38 +03:00
hqplayerd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
icecast.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
jack.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jmusicbot.nix treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
liquidsoap.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mopidy.nix nixos/mopidy: add wants network-online.target to fix warning 2024-05-25 00:43:18 +02:00
mpd.nix nixos/services.mpd: remove with lib; 2024-09-10 21:40:16 +02:00
mpdscribble.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
music-assistant.nix nixos/music-assistant: init 2024-07-17 22:29:38 +02:00
mympd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
navidrome.nix maintainers: rename nu-nu-ko to fsnkty 2024-06-15 14:21:38 +12:00
networkaudiod.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
roon-bridge.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
roon-server.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
slimserver.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
snapserver.nix nixos/services.snapserver: fix regression introduced in #339099 by renaming local function 2024-09-24 09:08:43 -07:00
spotifyd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
squeezelite.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
tts.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ympd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00