From 9fed94be788ba6b0240887068fc24e27117f8600 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 20 May 2019 09:56:53 +0800 Subject: [PATCH] make jq accessible in hydra runcommand --- nixbld-etc-nixos/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 5e1573f..e520cd8 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -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";