forked from mirrors/nixpkgs
nixos/minetest-server: Fix port coercion
Fix coercion of minetest-server port.
This commit is contained in:
parent
d8fd467095
commit
a4cbbc027f
|
@ -4,7 +4,7 @@ with lib;
|
|||
|
||||
let
|
||||
cfg = config.services.minetest-server;
|
||||
flag = val: name: if val != null then "--${name} ${val} " else "";
|
||||
flag = val: name: if val != null then "--${name} ${toString val} " else "";
|
||||
flags = [
|
||||
(flag cfg.gameId "gameid")
|
||||
(flag cfg.world "world")
|
||||
|
|
Loading…
Reference in a new issue