1{ system ? builtins.currentSystem
2, config ? { }
3, pkgs ? import ../../.. { inherit system config; }
4}:
5
6with pkgs.lib;
7
8foldl
9 (matrix: ver: matrix // {
10 "basic${toString ver}" = import ./basic.nix { inherit system pkgs; nextcloudVersion = ver; };
11 "openssl-sse${toString ver}" = import ./openssl-sse.nix {
12 inherit system pkgs;
13 nextcloudVersion = ver;
14 };
15 "with-postgresql-and-redis${toString ver}" = import ./with-postgresql-and-redis.nix {
16 inherit system pkgs;
17 nextcloudVersion = ver;
18 };
19 "with-mysql-and-memcached${toString ver}" = import ./with-mysql-and-memcached.nix {
20 inherit system pkgs;
21 nextcloudVersion = ver;
22 };
23 "with-declarative-redis-and-secrets${toString ver}" = import ./with-declarative-redis-and-secrets.nix {
24 inherit system pkgs;
25 nextcloudVersion = ver;
26 };
27 })
28{ }
29 [ 25 26 ]