nixpkgs/pkgs/tools/virtualization
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
..
alpine-make-vm-image
amazon-ecs-cli
awsebcli
cloud-init
cloudmonkey
cri-tools
distrobuilder treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dockstarter
ec2-ami-tools
ec2-api-tools
ec2instanceconnectcli
extra-container
google-compute-engine google-compute-engine: remove broken boto dependency 2024-09-19 05:34:24 -04:00
google-guest-agent
google-guest-configs
google-guest-oslogin
govc govc: 0.42.0 -> 0.43.0 2024-09-13 21:28:27 +00:00
guestfs-tools
jumppad jumppad: 0.13.2 -> 0.13.3 2024-08-31 13:16:04 +00:00
kubevirt kubevirt: 1.2.2 -> 1.3.1 2024-09-04 15:54:58 +00:00
linode-cli
lxd-image-server
marathonctl
mininet
mkosi mkosi: add msanft as maintainer 2024-09-03 14:27:17 +02:00
multipass
nixos-container
nixos-shell nixos-shell: 1.1.1 -> 2.0.0 2024-08-14 13:27:58 +00:00
onmetal-image
ovftool treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
reg
rootlesskit rootlesskit: 2.1.0 -> 2.3.1 2024-08-21 20:13:19 +00:00
supermin
udocker udocker: remove useless pytest-runner 2024-09-16 11:30:33 +02:00
uefi-run
xe-guest-utilities
xva-img