Need to explicitly refer to builtins?

This commit is contained in:
niten 2023-07-08 08:46:46 -07:00
parent f468ee264b
commit fe9d01918a
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ let
installPhase = "ls > $out"; installPhase = "ls > $out";
}; };
nginxCfg = writeTextFile "lemmy-nginx.conf" '' nginxCfg = builtins.writeTextFile "lemmy-nginx.conf" ''
worker_processes auto; worker_processes auto;
events { events {
@ -117,7 +117,7 @@ let
max-file = "4"; max-file = "4";
}; };
}; };
in writeTextDir "docker-compose.yml" (toJSON { in builtins.writeTextDir "docker-compose.yml" (toJSON {
version = "3.7"; version = "3.7";
services = { services = {
@ -228,7 +228,7 @@ in {
in { in {
fudo.secrets.host-secrets."${config.instance.hostname}" = { fudo.secrets.host-secrets."${config.instance.hostname}" = {
lemmyDockerEnv = { lemmyDockerEnv = {
source-file = writeTextFile "lemmy-docker-env" '' source-file = builtins.writeTextFile "lemmy-docker-env" ''
PICTRS__API_KEY=\"${pictrsApiKey}\" PICTRS__API_KEY=\"${pictrsApiKey}\"
POSTGRES_PASSWORD=\"${postgresPassword}\" POSTGRES_PASSWORD=\"${postgresPassword}\"
''; '';