nixpkgs/nixos/modules/services/logging
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
..
awstats.nix nixos/services.awstats: remove with lib; 2024-08-30 00:30:55 +02:00
filebeat.nix
fluentd.nix nixos/services.fluentd: remove with lib; 2024-08-30 00:30:55 +02:00
graylog.nix nixos/services.graylog: remove with lib; 2024-08-30 00:30:56 +02:00
heartbeat.nix nixos/services.heartbeat: remove with lib; 2024-08-30 00:30:56 +02:00
journalbeat.nix nixos/services.journalbeat: remove with lib; 2024-08-30 00:30:56 +02:00
journaldriver.nix
journalwatch.nix nixos/services.journalwatch: remove with lib; 2024-08-30 00:30:56 +02:00
klogd.nix
logcheck.nix nixos/services.logcheck: remove with lib; 2024-08-30 00:30:56 +02:00
logrotate.nix nixos/logrotate: harden systemd unit 2024-09-09 02:53:36 +02:00
logstash.nix nixos/services.logstash: remove with lib; 2024-08-30 00:30:57 +02:00
promtail.nix treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rsyslogd.nix nixos/services.rsyslogd: remove with lib; 2024-08-30 00:30:57 +02:00
syslog-ng.nix nixos/services.syslog-ng: remove with lib; 2024-08-30 00:30:57 +02:00
syslogd.nix nixos/services.syslogd: remove with lib; 2024-08-30 00:30:57 +02:00
SystemdJournal2Gelf.nix nixos/services.SystemdJournal2Gelf: remove with lib; 2024-08-30 00:30:55 +02:00
ulogd.nix nixos/services.ulogd: remove with lib; 2024-08-30 00:30:58 +02:00
vector.nix nixos/services.vector: remove with lib; 2024-08-30 00:30:58 +02:00