We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f86e8ba commit 53b9019Copy full SHA for 53b9019
lib/runners/qemu.nix
@@ -4,7 +4,8 @@
4
}:
5
6
let
7
- inherit (pkgs) lib system;
+ inherit (pkgs) lib;
8
+ inherit (pkgs.stdenv) system;
9
10
enableLibusb = pkg: pkg.overrideAttrs (oa: {
11
configureFlags = oa.configureFlags ++ [
nixos-modules/microvm/options.nix
@@ -531,12 +531,12 @@ in
531
532
config = lib.mkMerge [ {
533
microvm.qemu.machine =
534
- lib.mkIf (pkgs.system == "x86_64-linux") (
+ lib.mkIf (pkgs.stdenv.system == "x86_64-linux") (
535
lib.mkDefault "microvm"
536
);
537
} {
538
539
- lib.mkIf (pkgs.system == "aarch64-linux") (
+ lib.mkIf (pkgs.stdenv.system == "aarch64-linux") (
540
lib.mkDefault "virt"
541
542
} ];
0 commit comments