diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-06-08 14:40:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 14:40:30 +0300 |
commit | 0dfe118d22691aec5a3a3f2a8ea925e94783221e (patch) | |
tree | b0702e44b6216a37b34c311383436e26c4b3e638 /nixos | |
parent | af04e0adf12e1fb3d80e1a4eed1751a509a02556 (diff) | |
parent | 3f467ff45f3c24e8767e0d607e2a02bee9d95b20 (diff) |
Merge pull request #236259 from wegank/mongodb-drop
mongodb-4_2: drop
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/unifi.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/video/unifi-video.nix | 2 | ||||
-rw-r--r-- | nixos/tests/mongodb.nix | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix index a22ae692e138..3579d67aa54b 100644 --- a/nixos/modules/services/networking/unifi.nix +++ b/nixos/modules/services/networking/unifi.nix @@ -42,10 +42,10 @@ in services.unifi.mongodbPackage = mkOption { type = types.package; - default = pkgs.mongodb-4_2; + default = pkgs.mongodb-4_4; defaultText = literalExpression "pkgs.mongodb"; description = lib.mdDoc '' - The mongodb package to use. Please note: unifi7 officially only supports mongodb up until 3.6 but works with 4.2. + The mongodb package to use. Please note: unifi7 officially only supports mongodb up until 3.6 but works with 4.4. ''; }; diff --git a/nixos/modules/services/video/unifi-video.nix b/nixos/modules/services/video/unifi-video.nix index 78dc19086312..cb438a08150f 100644 --- a/nixos/modules/services/video/unifi-video.nix +++ b/nixos/modules/services/video/unifi-video.nix @@ -123,7 +123,7 @@ in mongodbPackage = mkOption { type = types.package; - default = pkgs.mongodb-4_2; + default = pkgs.mongodb-4_4; defaultText = literalExpression "pkgs.mongodb"; description = lib.mdDoc '' The mongodb package to use. diff --git a/nixos/tests/mongodb.nix b/nixos/tests/mongodb.nix index c26dc3ac32d3..75b0c4c2ab2b 100644 --- a/nixos/tests/mongodb.nix +++ b/nixos/tests/mongodb.nix @@ -33,7 +33,6 @@ import ./make-test-python.nix ({ pkgs, ... }: nodes = { node = {...}: { environment.systemPackages = with pkgs; [ - mongodb-4_2 mongodb-4_4 mongodb-5_0 ]; @@ -43,7 +42,6 @@ import ./make-test-python.nix ({ pkgs, ... }: testScript = '' node.start() '' - + runMongoDBTest pkgs.mongodb-4_2 + runMongoDBTest pkgs.mongodb-4_4 + runMongoDBTest pkgs.mongodb-5_0 + '' |