Skip to content

Commit

Permalink
Remove aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and astro committed Dec 7, 2024
1 parent f86e8ba commit 53b9019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/runners/qemu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
}:

let
inherit (pkgs) lib system;
inherit (pkgs) lib;
inherit (pkgs.stdenv) system;

enableLibusb = pkg: pkg.overrideAttrs (oa: {
configureFlags = oa.configureFlags ++ [
Expand Down
4 changes: 2 additions & 2 deletions nixos-modules/microvm/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,12 @@ in

config = lib.mkMerge [ {
microvm.qemu.machine =
lib.mkIf (pkgs.system == "x86_64-linux") (
lib.mkIf (pkgs.stdenv.system == "x86_64-linux") (
lib.mkDefault "microvm"
);
} {
microvm.qemu.machine =
lib.mkIf (pkgs.system == "aarch64-linux") (
lib.mkIf (pkgs.stdenv.system == "aarch64-linux") (
lib.mkDefault "virt"
);
} ];
Expand Down

0 comments on commit 53b9019

Please sign in to comment.