nixos/virtualbox-image: cast baseImageFreeSpace into str

This fixes an evaluation error that's blocking the nixos-unstable
channel (#132328).

(cherry picked from commit b5fab53628e8f080bae24ea1396f72d9d21e1f9b)
This commit is contained in:
Luke Granger-Brown 2021-08-01 18:59:08 +00:00 committed by Silvan Mosberger
parent a2a5df1e63
commit 2194711ae0
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ in {
inherit pkgs lib config;
partitionTableType = "legacy";
diskSize = cfg.baseImageSize;
additionalSpace = cfg.baseImageFreeSpace;
additionalSpace = "${toString cfg.baseImageFreeSpace}M";
postVM =
''