From 71dd9c3d538195abdcdaf6b1afdcf72193dcaf0a Mon Sep 17 00:00:00 2001 From: Sebastian Sinnlos Date: Sun, 12 Nov 2023 00:06:48 +0100 Subject: [PATCH] nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward ocmProviderIsNotAStaticDirAnymore applys also to nextcloud26 form 26.0.8 onwards til EOL in 2024-03 --- nixos/modules/services/web-apps/nextcloud.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index f9713cac47e9..1b9e6e6043c8 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -61,7 +61,9 @@ let pgsqlLocal = cfg.database.createLocally && cfg.config.dbtype == "pgsql"; # https://github.com/nextcloud/documentation/pull/11179 - ocmProviderIsNotAStaticDirAnymore = versionAtLeast cfg.package.version "27.1.2"; + ocmProviderIsNotAStaticDirAnymore = versionAtLeast cfg.package.version "27.1.2" + || (versionOlder cfg.package.version "27.0.0" + && versionAtLeast cfg.package.version "26.0.8"); in {