use getExe' to silence errors

This commit is contained in:
Daniel Olsen 2024-04-12 00:41:57 +02:00
parent ae4ace9fa2
commit 01f0e63a49
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ acme-certs: final: prev:
${lib.concatMapStrings (name: "--ro-bind \"${crt}\" \"/var/lib/acme/${name}/fullchain.pem\" \\") acme-certs}
${lib.concatMapStrings (name: "--ro-bind \"${key}\" \"/var/lib/acme/${name}/key.pem\" \\") acme-certs}
${lib.concatMapStrings (name: "--ro-bind \"${crt}\" \"/var/lib/acme/${name}/chain.pem\" \\") acme-certs}
${lib.getExe final.nginx} -t -c "$out" |& grep "syntax is ok"
${lib.getExe' final.nginx "nginx"} -t -c "$out" |& grep "syntax is ok"
'';
};
}