From d94e5feccd4853cdd5f569a5df8e2bd032094177 Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 1 Oct 2024 23:59:18 +0200 Subject: [PATCH] Remove aliases --- lib/runners/cloud-hypervisor.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/runners/cloud-hypervisor.nix b/lib/runners/cloud-hypervisor.nix index 162c1fe9..2338d19f 100644 --- a/lib/runners/cloud-hypervisor.nix +++ b/lib/runners/cloud-hypervisor.nix @@ -4,19 +4,19 @@ }: let - inherit (pkgs) lib system; + inherit (pkgs) lib; inherit (microvmConfig) vcpu mem balloonMem user interfaces volumes shares socket devices hugepageMem graphics storeDisk storeOnDisk kernel initrdPath; inherit (microvmConfig.cloud-hypervisor) extraArgs; kernelPath = { x86_64-linux = "${kernel.dev}/vmlinux"; aarch64-linux = "${kernel.out}/${pkgs.stdenv.hostPlatform.linux-kernel.target}"; - }.${pkgs.system}; + }.${pkgs.stdenv.system}; kernelConsole = - if system == "x86_64-linux" + if pkgs.stdenv.system == "x86_64-linux" then "earlyprintk=ttyS0 console=ttyS0" - else if system == "aarch64-linux" + else if pkgs.stdenv.system == "aarch64-linux" then "console=ttyAMA0" else "";