From 9ced953443edec0ccc11c9aa6b845aaf4a2ad9af Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 16 Jul 2023 22:41:11 -0700 Subject: [PATCH] Damn...val -> var --- lemmy-docker.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy-docker.nix b/lemmy-docker.nix index 59ddc72..bdeca04 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -7,7 +7,7 @@ let hostSecrets = config.fudo.secrets.host-secrets."${config.instance.hostname}"; makeEnvFile = envVars: - let envLines = mapAttrsToList (var: val: ''${val}="${val}"'') envVars; + let envLines = mapAttrsToList (var: val: ''${var}="${val}"'') envVars; in pkgs.writeText "envFile" (concatStringsSep "\n" envLines); makeLemmyImage = { port, stateDirectory, proxyCfg, lemmyCfg, lemmyUiCfg