aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-14 23:23:41 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-14 23:23:41 +0100
commiteb19ff3b82240326fc0e999e09f81b6c8ed98640 (patch)
treec73be9fb4a86c07176d49afe3df66bd3be64f72d
parent4c242639673a832f5b2dd3439205811c42992bb4 (diff)
nix eval-hydra-jobs: Support flakes
-rw-r--r--src/nix/eval-hydra-jobs.cc5
1 files changed, 5 insertions, 0 deletions
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();