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

View File

@ -127,7 +127,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
];
services.hydra = {
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;
hydraURL = "https://nixbld.m-labs.hk";
notificationSender = "hydra@m-labs.hk";