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