Merge pull request #266935 from s-sinnlos/nextcloud26-ocm-dir-fix

nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward
This commit is contained in:
Maximilian Bosch 2023-12-09 14:00:59 +01:00 committed by GitHub
commit 2ee3ddef8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {