Skip to content

Commit d94e5fe

Browse files
SuperSandro2000astro
authored andcommitted
Remove aliases
1 parent 04f643d commit d94e5fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/runners/cloud-hypervisor.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
}:
55

66
let
7-
inherit (pkgs) lib system;
7+
inherit (pkgs) lib;
88
inherit (microvmConfig) vcpu mem balloonMem user interfaces volumes shares socket devices hugepageMem graphics storeDisk storeOnDisk kernel initrdPath;
99
inherit (microvmConfig.cloud-hypervisor) extraArgs;
1010

1111
kernelPath = {
1212
x86_64-linux = "${kernel.dev}/vmlinux";
1313
aarch64-linux = "${kernel.out}/${pkgs.stdenv.hostPlatform.linux-kernel.target}";
14-
}.${pkgs.system};
14+
}.${pkgs.stdenv.system};
1515

1616
kernelConsole =
17-
if system == "x86_64-linux"
17+
if pkgs.stdenv.system == "x86_64-linux"
1818
then "earlyprintk=ttyS0 console=ttyS0"
19-
else if system == "aarch64-linux"
19+
else if pkgs.stdenv.system == "aarch64-linux"
2020
then "console=ttyAMA0"
2121
else "";
2222

0 commit comments

Comments
 (0)