buildbot: s/lib\.shell/shell/g
This commit is contained in:
parent
372f2d77f3
commit
ea910d7d99
|
@ -338,8 +338,8 @@ let
|
||||||
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
};
|
};
|
||||||
serviceConfig = let
|
serviceConfig = let
|
||||||
workdir="${lib.shell.escape cfg.workDir}";
|
workdir = shell.escape cfg.workDir;
|
||||||
secretsdir="${lib.shell.escape (toString <secrets>)}";
|
secretsdir = shell.escape (toString <secrets>);
|
||||||
in {
|
in {
|
||||||
PermissionsStartOnly = true;
|
PermissionsStartOnly = true;
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
|
|
|
@ -149,9 +149,9 @@ let
|
||||||
} // cfg.extraEnviron;
|
} // cfg.extraEnviron;
|
||||||
|
|
||||||
serviceConfig = let
|
serviceConfig = let
|
||||||
workdir = "${lib.shell.escape cfg.workDir}";
|
workdir = shell.escape cfg.workDir;
|
||||||
contact = "${lib.shell.escape cfg.contact}";
|
contact = shell.escape cfg.contact;
|
||||||
description = "${lib.shell.escape cfg.description}";
|
description = shell.escape cfg.description;
|
||||||
buildbot = pkgs.buildbot-slave;
|
buildbot = pkgs.buildbot-slave;
|
||||||
# TODO:make this
|
# TODO:make this
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
with config.krebs.lib;
|
||||||
let
|
let
|
||||||
repodir = "/var/srv/drivedroid";
|
repodir = "/var/srv/drivedroid";
|
||||||
srepodir = lib.shell.escape repodir;
|
srepodir = shell.escape repodir;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.drivedroid-gen-repo ];
|
environment.systemPackages = [ pkgs.drivedroid-gen-repo ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user