percona-server, percona-xtrabackup: rework naming

When reworking the percona package naming towards the two release
streams "innovation" and "lts", I did not anticipate the case that two
releases are long-term supported in parallel, and that the latest
Innovation release is end-of-life and replaced by a more recent lts.

Hence, the first-level attribute names now reflect the package
major-minor versions again, augmented by attribute names pointing to
respective lts and innovation releases.
This commit is contained in:
Oliver Schmidt 2024-10-02 18:13:17 +02:00
parent edc63e0b83
commit 188b5df7cd
8 changed files with 12 additions and 8 deletions

View File

@ -1,12 +1,14 @@
pkgs: {
percona-server_lts = pkgs.callPackage ./lts.nix {
# old lts
percona-server_8_0 = pkgs.callPackage ./8_0.nix {
inherit (pkgs.darwin) developer_cmds DarwinTools;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
boost = pkgs.boost177; # Configure checks for specific version.
icu = pkgs.icu69;
# newer versions cause linking failures against `libabsl_spinlock_wait`
protobuf = pkgs.protobuf_21;
};
percona-server_innovation = pkgs.callPackage ./innovation.nix {
percona-server_8_3 = pkgs.callPackage ./8_3.nix {
inherit (pkgs.darwin) developer_cmds DarwinTools;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
# newer versions cause linking failures against `libabsl_spinlock_wait`

View File

@ -1,6 +1,6 @@
pkgs: {
percona-xtrabackup_lts = pkgs.callPackage ./lts.nix {
percona-xtrabackup_8_0 = pkgs.callPackage ./8_0.nix {
boost = pkgs.boost177;
};
percona-xtrabackup_innovation = pkgs.callPackage ./innovation.nix { };
percona-xtrabackup_8_3 = pkgs.callPackage ./8_3.nix { };
}

View File

@ -1213,8 +1213,6 @@ mapAliases {
pdf2xml = throw "'pdf2xml' was removed: abandoned for years."; # Added 2023-10-22
peach = asouldocs; # Added 2022-08-28
pentablet-driver = xp-pen-g430-driver; # Added 2022-06-23
percona-server_8_0 = percona-server_lts; # Added 2024-05-07
percona-xtrabackup_8_0 = percona-xtrabackup_lts; # Added 2024-05-07
perldevel = throw "'perldevel' has been dropped due to lack of updates in nixpkgs and lack of consistent support for devel versions by 'perl-cross' releases, use 'perl' instead";
perldevelPackages = perldevel;
petrinizer = throw "'petrinizer' has been removed, as it was broken and unmaintained"; # added 2024-05-09

View File

@ -11089,9 +11089,13 @@ with pkgs;
perceptualdiff = callPackage ../tools/graphics/perceptualdiff { };
inherit (import ../servers/sql/percona-server pkgs) percona-server_lts percona-server_innovation;
inherit (import ../servers/sql/percona-server pkgs) percona-server_8_0 percona-server_8_3;
percona-server_lts = percona-server_8_0;
percona-server_innovation = percona-server_8_3;
percona-server = percona-server_lts;
inherit (import ../tools/backup/percona-xtrabackup pkgs) percona-xtrabackup_lts percona-xtrabackup_innovation;
inherit (import ../tools/backup/percona-xtrabackup pkgs) percona-xtrabackup_8_0 percona-xtrabackup_8_3;
percona-xtrabackup_lts = percona-xtrabackup_8_0;
percona-xtrabackup_innovation = percona-xtrabackup_8_3;
percona-xtrabackup = percona-xtrabackup_lts;
pick = callPackage ../tools/misc/pick { };