nixos/renovate: Fix ShellCheck issue (#373131)

This commit is contained in:
Sefa Eyeoglu
2025-01-13 10:37:06 +01:00
committed by GitHub
2 changed files with 6 additions and 3 deletions
+4 -3
View File
@@ -138,9 +138,10 @@ in
script = ''
${lib.concatStringsSep "\n" (
builtins.map (name: "export ${name}=$(systemd-creds cat 'SECRET-${name}')") (
lib.attrNames cfg.credentials
)
builtins.map (name: ''
${name}="$(systemd-creds cat 'SECRET-${name}')"
export ${name}
'') (lib.attrNames cfg.credentials)
)}
exec ${lib.escapeShellArg (lib.getExe cfg.package)}
'';
+2
View File
@@ -31,6 +31,8 @@ import ./make-test-python.nix (
enable = true;
settings.server.HTTP_PORT = 3000;
};
# Uncomment the next line to lint service scripts (Note: breaks VM startup; see #373166)
#systemd.enableStrictShellChecks = true;
};
testScript = ''