From 7abc0a7d1b170172f10f9c0d8e2d5be2a4a1b865 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 22 Aug 2022 15:17:36 +0800 Subject: [PATCH] install: also install mongodb tools --- install/install.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/install.js b/install/install.js index 29aae0680..83fc4aaf0 100644 --- a/install/install.js +++ b/install/install.js @@ -167,6 +167,13 @@ To disable this feature, checkout our sourcecode.`); `nix-env -iA hydro.mongodb${avx2 ? 5 : 4}${CN ? '-cn' : ''}`, ], }, + { + init: 'install.mongodb-tools', + skip: () => !exec('mongoexport --version').code, + operations: [ + 'nix-env -iA nixpkgs.mongodb-tools', + ], + }, { init: 'install.mongo', skip: () => !exec('mongo --version').code,