From eb19ff3b82240326fc0e999e09f81b6c8ed98640 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 14 Feb 2020 23:23:41 +0100 Subject: [PATCH] nix eval-hydra-jobs: Support flakes --- src/nix/eval-hydra-jobs.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nix/eval-hydra-jobs.cc b/src/nix/eval-hydra-jobs.cc index 60e41c3eb..18a681eb4 100644 --- a/src/nix/eval-hydra-jobs.cc +++ b/src/nix/eval-hydra-jobs.cc @@ -71,6 +71,11 @@ struct CmdEvalHydraJobs : MixJSON, MixDryRun, InstallableCommand }; } + Strings getDefaultFlakeAttrPaths() override + { + return {"hydraJobs", "checks"}; + } + void worker(AutoCloseFD & to, AutoCloseFD & from) { auto state = getEvalState();