git.iko.soy/typeable/nixpkgs
on master help sign in
terraria service: fixup worldPath option type

Otherwise, using the defaults results in a type error.

commitd893c86b34680fc4de04b8df05c84dc91c401ab0 authorJoachim Fasting <joachifm@fastmail.fm> dateSun 11 Dec 2016, 14:59 (10 years ago) parent33088ac
1 file changed+1−1
nixos/modules/services/games/terraria.nix+1−1
nixos/modules/services/games/terraria.nix+1−1
@@ -64,7 +64,7 @@ in
6464 };
6565
6666 worldPath = mkOption {
67− type = types.path;
67+ type = types.nullOr types.path;
6868 default = null;
6969 description = ''
7070 The path to the world file (<literal>.wld</literal>) which should be loaded.