diff options
author | tv <tv@krebsco.de> | 2017-07-27 20:43:34 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-27 20:43:34 +0200 |
commit | 904b78d7352ddddcc514f325f8bc1e447a4c05ff (patch) | |
tree | 9436bfd0d04bdf84386d5d7399fe6adf13fb9a04 /krebs/3modules/buildbot/slave.nix | |
parent | 252d45d212ad0b67336636914a721eb08b5df1c3 (diff) | |
parent | 9e0a791281c216b150e4c35a5d4011353237ddfd (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/3modules/buildbot/slave.nix')
-rw-r--r-- | krebs/3modules/buildbot/slave.nix | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/krebs/3modules/buildbot/slave.nix b/krebs/3modules/buildbot/slave.nix index 932923ae5..544f9c4e0 100644 --- a/krebs/3modules/buildbot/slave.nix +++ b/krebs/3modules/buildbot/slave.nix @@ -2,12 +2,6 @@ with import <stockholm/lib>; let - nixpkgs-fix = import (pkgs.fetchgit { - url = https://github.com/nixos/nixpkgs; - rev = "e026b5c243ea39810826e68362718f5d703fb5d0"; - sha256 = "11lqd480bi6xbi7xbh4krrxmbp6a6iafv1d0q3sj461al0x0has8"; - }) {}; - buildbot-slave-init = pkgs.writeText "buildbot-slave.tac" '' import os @@ -158,7 +152,6 @@ let workdir = shell.escape cfg.workDir; contact = shell.escape cfg.contact; description = shell.escape cfg.description; - buildbot = nixpkgs-fix.buildbot-slave; # TODO:make this in { PermissionsStartOnly = true; @@ -175,8 +168,8 @@ let chown buildbotSlave:buildbotSlave -R ${workdir} chmod 700 -R ${workdir} ''; - ExecStart = "${buildbot}/bin/buildslave start ${workdir}"; - ExecStop = "${buildbot}/bin/buildslave stop ${workdir}"; + ExecStart = "${pkgs.buildbot-classic-slave}/bin/buildslave start ${workdir}"; + ExecStop = "${pkgs.buildbot-classic-slave}/bin/buildslave stop ${workdir}"; PrivateTmp = "true"; User = "buildbotSlave"; Restart = "always"; |