mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is * treewide: nixfmt due to ci error
This commit is contained in:
parent
0fdc9185d8
commit
e13831335f
90 changed files with 203 additions and 194 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue