services.self-deploy: fix nix-build argument format (#462807)
This commit is contained in:
@@ -179,10 +179,16 @@ in
|
||||
${gitWithRepo} checkout FETCH_HEAD
|
||||
|
||||
nix-build${renderNixArgs cfg.nixArgs} ${
|
||||
lib.cli.toCommandLineShellGNU { } {
|
||||
attr = cfg.nixAttribute;
|
||||
out-link = outPath;
|
||||
}
|
||||
lib.cli.toCommandLineShell
|
||||
(optionName: {
|
||||
option = "--${optionName}";
|
||||
sep = null;
|
||||
explicitBool = false;
|
||||
})
|
||||
{
|
||||
attr = cfg.nixAttribute;
|
||||
out-link = outPath;
|
||||
}
|
||||
} ${lib.escapeShellArg "${repositoryDirectory}${cfg.nixFile}"}
|
||||
|
||||
${lib.optionalString (
|
||||
|
||||
Reference in New Issue
Block a user