mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
22 lines
583 B
Nix
22 lines
583 B
Nix
{ system ? builtins.currentSystem
|
|
, config ? { }
|
|
, pkgs ? import ../../.. { inherit system config; }
|
|
}:
|
|
|
|
with pkgs.lib;
|
|
|
|
foldl
|
|
(matrix: ver: matrix // {
|
|
"basic${toString ver}" = import ./basic.nix { inherit system pkgs; nextcloudVersion = ver; };
|
|
"with-postgresql-and-redis${toString ver}" = import ./with-postgresql-and-redis.nix {
|
|
inherit system pkgs;
|
|
nextcloudVersion = ver;
|
|
};
|
|
"with-mysql-and-memcached${toString ver}" = import ./with-mysql-and-memcached.nix {
|
|
inherit system pkgs;
|
|
nextcloudVersion = ver;
|
|
};
|
|
})
|
|
{ }
|
|
[ 21 22 23 ]
|