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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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