allocated-memory needs toString

This commit is contained in:
niten 2022-09-06 08:06:10 -07:00
parent 214cff689b
commit 4c31509ad3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ in {
User = cfg.user;
Group = cfg.group;
ExecStart = let
mem = "${cfg.allocated-memory}G";
mem = "${toString cfg.allocated-memory}G";
memFlags = [ "-Xms${mem}" "-Xmx${mem}" ];
flags = commonFlags ++ memFlags
++ (optionals (cfg.allocated-memory >= 12) highMemFlags);