diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2015-07-31 16:19:56 +0000 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2015-07-31 16:19:56 +0000 |
commit | 0310b484946f3b2434e997655c44687889058ce2 (patch) | |
tree | c9a7cbf2e49bacc68df4869ec0210cdc301750a8 /pkgs/tools/package-management | |
parent | 831397f13696a2f4cd82a73193dbe048d0a5d116 (diff) |
Add mongodb-tools package as dependency to make snapshots and restores work
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/disnix/dysnomia/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/package-management/disnix/dysnomia/default.nix b/pkgs/tools/package-management/disnix/dysnomia/default.nix index f79250cf01899..275c4b6e61f11 100644 --- a/pkgs/tools/package-management/disnix/dysnomia/default.nix +++ b/pkgs/tools/package-management/disnix/dysnomia/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl -, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null +, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null , enableApacheWebApplication ? false , enableAxis2WebService ? false , enableEjabberdDump ? false @@ -17,7 +17,7 @@ assert enableMySQLDatabase -> mysql != null; assert enablePostgreSQLDatabase -> postgresql != null; assert enableSubversionRepository -> subversion != null; assert enableEjabberdDump -> ejabberd != null; -assert enableMongoDatabase -> mongodb != null; +assert enableMongoDatabase -> (mongodb != null && mongodb-tools != null); stdenv.mkDerivation { name = "dysnomia-0.4"; @@ -45,7 +45,8 @@ stdenv.mkDerivation { ++ stdenv.lib.optional enableMySQLDatabase mysql.out ++ stdenv.lib.optional enablePostgreSQLDatabase postgresql ++ stdenv.lib.optional enableSubversionRepository subversion - ++ stdenv.lib.optional enableMongoDatabase mongodb; + ++ stdenv.lib.optional enableMongoDatabase mongodb + ++ stdenv.lib.optional enableMongoDatabase mongodb-tools; meta = { description = "Automated deployment of mutable components and services for Disnix"; |