nixos/qemu-vm: fix 32-bits assert for memorySize
It should be an implication, rather than &&.
This commit is contained in:
parent
3580ac6c65
commit
09d1022782
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ in
|
|||
'';
|
||||
}
|
||||
])) ++ [
|
||||
{ assertion = pkgs.stdenv.hostPlatform.is32bit && cfg.memorySize < 2047;
|
||||
{ assertion = pkgs.stdenv.hostPlatform.is32bit -> cfg.memorySize < 2047;
|
||||
message = ''
|
||||
virtualisation.memorySize is above 2047, but qemu is only able to allocate 2047MB RAM on 32bit max.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue