mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
mongodb: mongodb-5_0 -> mongodb-7_0
This commit is contained in:
parent
b0395df085
commit
086676017e
@ -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.
|
||||
|
||||
|
@ -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()
|
||||
'';
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user