1 # Source: https://git.helsinki.tools/helsinki-systems/nc4nix/-/raw/main/nc-versions.nix
4 # this file is used to figure out which versions of nextcloud we have in nixpkgs
5 { pkgs ? import ../../../.. {}, lib ? pkgs.lib }:
7 n = lib.mapAttrsToList (_: v: v.version) (
8 lib.filterAttrs (k: v: builtins.match "nextcloud[0-9]+" k != null && (builtins.tryEval v.version).success)
12 e = lib.concatStringsSep "," n;