ceph: Fix build with GCC 13 by using fmt_8 -> fmt_9. Fixes #281027

This commit is contained in:
Niklas Hambüchen 2024-01-18 20:05:42 +00:00
parent cf792a51c8
commit bf2c85fa69

View file

@ -6809,8 +6809,14 @@ with pkgs;
libceph = ceph.lib;
inherit (callPackages ../tools/filesystems/ceph {
lua = lua5_4;
fmt = fmt_8;
lua = lua5_4; # Ceph currently requires >= 5.3
# To see which `fmt` version Ceph upstream recommends, check its `src/fmt` submodule.
#
# Ceph does not currently build with `fmt_10`; see https://github.com/NixOS/nixpkgs/issues/281027#issuecomment-1899128557
# If we want to switch for that before upstream fixes it, use this patch:
# https://github.com/NixOS/nixpkgs/pull/281858#issuecomment-1899648638
fmt = fmt_9;
})
ceph
ceph-client;