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
This commit is contained in:
Sebastian Sinnlos 2023-11-12 00:06:48 +01:00
parent 81327627c0
commit 71dd9c3d53

View File

@ -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 {