···1058 ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11"))
1059 ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05"));
10601061- services.nextcloud.package =
1062- with pkgs;
1063- lib.mkDefault (
1064- if pkgs ? nextcloud then
1065- throw ''
1066- The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default
1067- nextcloud defined in an overlay, please set `services.nextcloud.package` to
1068- `pkgs.nextcloud`.
1069- ''
1070- else if versionOlder stateVersion "24.05" then
1071- nextcloud27
1072- else if versionOlder stateVersion "24.11" then
1073- nextcloud29
1074- else if versionOlder stateVersion "25.05" then
1075- nextcloud30
1076- else
1077- nextcloud31
1078- );
10791080 services.nextcloud.phpOptions = mkMerge [
1081 (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings)
···1058 ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11"))
1059 ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05"));
10601061+ services.nextcloud.package = lib.mkDefault (
1062+ if pkgs ? nextcloud then
1063+ throw ''
1064+ The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default
1065+ nextcloud defined in an overlay, please set `services.nextcloud.package` to
1066+ `pkgs.nextcloud`.
1067+ ''
1068+ else if lib.versionOlder stateVersion "24.05" then
1069+ pkgs.nextcloud27
1070+ else if lib.versionOlder stateVersion "24.11" then
1071+ pkgs.nextcloud29
1072+ else if lib.versionOlder stateVersion "25.05" then
1073+ pkgs.nextcloud30
1074+ else
1075+ pkgs.nextcloud31
1076+ );
0010771078 services.nextcloud.phpOptions = mkMerge [
1079 (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings)
+1
nixos/tests/all-tests.nix
···699 imports = [ ./odoo.nix ];
700 _module.args.package = pkgs.odoo16;
701 };
0702 oncall = runTest ./web-apps/oncall.nix;
703 # 9pnet_virtio used to mount /nix partition doesn't support
704 # hibernation. This test happens to work on x86_64-linux but
···699 imports = [ ./odoo.nix ];
700 _module.args.package = pkgs.odoo16;
701 };
702+ oku = runTest ./oku.nix;
703 oncall = runTest ./web-apps/oncall.nix;
704 # 9pnet_virtio used to mount /nix partition doesn't support
705 # hibernation. This test happens to work on x86_64-linux but
···49 "TestInterQueryCache_ClientError"
50 "TestIntraQueryCache_ClientError"
51 "TestSSOCredentialService"
000052 ]
53 ++ lib.optionals stdenv.hostPlatform.isDarwin [
54 # Skip tests that require network, not available in the darwin sandbox
···49 "TestInterQueryCache_ClientError"
50 "TestIntraQueryCache_ClientError"
51 "TestSSOCredentialService"
52+53+ # This test depends on the metrics available in go not changing. This is a bit
54+ # too unstable for us updating go independently.
55+ "TestJSONSerialization"
56 ]
57 ++ lib.optionals stdenv.hostPlatform.isDarwin [
58 # Skip tests that require network, not available in the darwin sandbox