1
0
Fork 0

make jq accessible in hydra runcommand

This commit is contained in:
Sebastien Bourdeauducq 2019-05-20 09:56:53 +08:00
parent 4b78fb8124
commit 9fed94be78
1 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
]; ];
services.hydra = { services.hydra = {
enable = true; enable = true;
package = pkgs.hydra.overrideAttrs(oa: { patches = oa.patches ++ [ ./hydra-conda.patch ./hydra-retry.patch ]; } ); package = pkgs.hydra.overrideAttrs(oa: {
patches = oa.patches ++ [ ./hydra-conda.patch ./hydra-retry.patch ];
hydraPath = oa.hydraPath + ":" + pkgs.lib.makeBinPath [ pkgs.jq ];
});
useSubstitutes = true; useSubstitutes = true;
hydraURL = "https://nixbld.m-labs.hk"; hydraURL = "https://nixbld.m-labs.hk";
notificationSender = "hydra@m-labs.hk"; notificationSender = "hydra@m-labs.hk";