mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
nixos/minetest-server: Fix port coercion
Fix coercion of minetest-server port.
(cherry picked from commit a4cbbc027f)
This commit is contained in:
committed by
Maximilian Bosch
parent
dcd0a22137
commit
c59f9fc199
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user