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:
parent
a2a5df1e63
commit
2194711ae0
@ -124,7 +124,7 @@ in {
|
|||||||
inherit pkgs lib config;
|
inherit pkgs lib config;
|
||||||
partitionTableType = "legacy";
|
partitionTableType = "legacy";
|
||||||
diskSize = cfg.baseImageSize;
|
diskSize = cfg.baseImageSize;
|
||||||
additionalSpace = cfg.baseImageFreeSpace;
|
additionalSpace = "${toString cfg.baseImageFreeSpace}M";
|
||||||
|
|
||||||
postVM =
|
postVM =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user