treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)

* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
This commit is contained in:
Masum Reza
2024-11-17 16:11:54 +05:30
committed by GitHub
parent 0fdc9185d8
commit e13831335f
90 changed files with 203 additions and 194 deletions

View File

@@ -57,7 +57,7 @@ rec {
throwUnsupportedGuestSystem = guestMap:
throw "Unsupported guest system ${guestSystem} for host ${hostSystem}, supported: ${lib.concatStringsSep ", " (lib.attrNames guestMap)}";
in
if hostStdenv.isLinux then
if hostStdenv.hostPlatform.isLinux then
linuxHostGuestMatrix.${guestSystem} or "${qemuPkg}/bin/qemu-kvm"
else
let