install: also install mongodb tools

This commit is contained in:
undefined committed 2022-08-22 15:17:36 +08:00
1 parent b9e6316a82
commit 7abc0a7d1b
1 file changed
+7
+7
View File
@@ -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,