From 48d0ae68f7bbde0c1bea99519863327bc603290e Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 18 Jul 2023 11:27:17 -0700 Subject: [PATCH] toString value for env file --- lemmy-docker.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lemmy-docker.nix b/lemmy-docker.nix index 2efc5e6..4e432e0 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -7,7 +7,9 @@ let hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}"; makeEnvFile = envVars: - let envLines = mapAttrsToList (var: val: ''${var}="${val}"'') envVars; + let + envLines = + mapAttrsToList (var: val: ''${var}="${toString val}"'') envVars; in pkgs.writeText "envFile" (concatStringsSep "\n" envLines); makeLemmyImage = { port, stateDirectory, proxyCfg, lemmyCfg, lemmyUiCfg