From 01f0e63a4949e886a42f86e2959275ed67d79f48 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 12 Apr 2024 00:41:57 +0200 Subject: [PATCH] use getExe' to silence errors --- overlays/nginx-test.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/nginx-test.nix b/overlays/nginx-test.nix index ef82377c..9d1b465e 100644 --- a/overlays/nginx-test.nix +++ b/overlays/nginx-test.nix @@ -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" ''; }; }