Commit 08667601 authored by Emily's avatar Emily
Browse files

mongodb: mongodb-5_0 -> mongodb-7_0

parent b0395df0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -173,6 +173,9 @@
  - `transmission-gtk`: `~/.config/transmission`
  - `transmission-daemon` using NixOS module: `${config.services.transmission.home}/.config/transmission-daemon` (defaults to `/var/lib/transmission/.config/transmission-daemon`)

- The default `mongodb` version has been updated from 5.0 to 7.0.
  For more information, see the compatibility changes for MongoDB [6.0](https://www.mongodb.com/docs/manual/release-notes/6.0-compatibility/) and [7.0](https://www.mongodb.com/docs/manual/release-notes/7.0-compatibility/).

- `unifi` has been updated to UniFi 8.
  `unifi7` was removed as it is vulnerable to CVE-2024-42025 and required a version of MongoDB that has reached end of life.

+2 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
      node = {...}: {
        environment.systemPackages = with pkgs; [
          # remember to update mongodb.passthru.tests if you change this
          mongodb-5_0
          mongodb-7_0
        ];
      };
    };
@@ -42,7 +42,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
    testScript = ''
      node.start()
    ''
      + runMongoDBTest pkgs.mongodb-5_0
      + runMongoDBTest pkgs.mongodb-7_0
      + ''
        node.shutdown()
      '';
+1 −1
Original line number Diff line number Diff line
@@ -25,5 +25,5 @@ buildMongoDB {
    # Fix building with python 3.12 since the imp module was removed
    ./mongodb-python312.patch
  ];
  # passthru.tests = { inherit (nixosTests) mongodb; }; # currently tests mongodb-5_0
  # passthru.tests = { inherit (nixosTests) mongodb; }; # currently tests mongodb-7_0
}
+4 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  CoreFoundation,
  cctools,
  avxSupport ? stdenv.hostPlatform.avxSupport,
  nixosTests,
}:

let
@@ -34,4 +35,7 @@ buildMongoDB {
    # Fix building with python 3.12 since the imp module was removed
    ./mongodb-python312.patch
  ];
  passthru.tests = {
    inherit (nixosTests) mongodb;
  };
}
+1 −1
Original line number Diff line number Diff line
@@ -24974,7 +24974,7 @@ with pkgs;
  mariadb = mariadb_1011;
  mariadb-embedded = mariadb.override { withEmbedded = true; };
  mongodb = hiPrio mongodb-6_0;
  mongodb = hiPrio mongodb-7_0;
  mongodb-5_0 = callPackage ../servers/nosql/mongodb/5.0.nix {
    sasl = cyrus_sasl;