File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
} :
5
5
6
6
let
7
- inherit ( pkgs ) lib system ;
7
+ inherit ( pkgs ) lib ;
8
8
inherit ( microvmConfig ) vcpu mem balloonMem user interfaces volumes shares socket devices hugepageMem graphics storeDisk storeOnDisk kernel initrdPath ;
9
9
inherit ( microvmConfig . cloud-hypervisor ) extraArgs ;
10
10
11
11
kernelPath = {
12
12
x86_64-linux = "${ kernel . dev } /vmlinux" ;
13
13
aarch64-linux = "${ kernel . out } /${ pkgs . stdenv . hostPlatform . linux-kernel . target } " ;
14
- } . ${ pkgs . system } ;
14
+ } . ${ pkgs . stdenv . system } ;
15
15
16
16
kernelConsole =
17
- if system == "x86_64-linux"
17
+ if pkgs . stdenv . system == "x86_64-linux"
18
18
then "earlyprintk=ttyS0 console=ttyS0"
19
- else if system == "aarch64-linux"
19
+ else if pkgs . stdenv . system == "aarch64-linux"
20
20
then "console=ttyAMA0"
21
21
else "" ;
22
22
You can’t perform that action at this time.
0 commit comments