aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-19 12:35:03 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-19 12:35:03 +0100
commit30c8297ded3caf7ebd862d5eef23333b19a9b554 (patch)
tree0b5ee080cb02af937da3641a7822accc1a855ee3 /src
parent95468e3c1e5e42c501bae61d80d08c509629a0f9 (diff)
nix eval-hydra-jobs: Add feature
Diffstat (limited to 'src')
-rw-r--r--src/nix/eval-hydra-jobs.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/eval-hydra-jobs.cc b/src/nix/eval-hydra-jobs.cc
index 579e7ad31..f66fb3571 100644
--- a/src/nix/eval-hydra-jobs.cc
+++ b/src/nix/eval-hydra-jobs.cc
@@ -212,6 +212,8 @@ struct CmdEvalHydraJobs : MixJSON, MixDryRun, InstallableCommand
void run(ref<Store> store) override
{
+ settings.requireExperimentalFeature("eval-hydra-jobs");
+
if (!gcRootsDir) warn("'--gc-roots-dir' not specified");
struct State