Skip to content

Commit

Permalink
ceph: Fix build with GCC 13 by using fmt_8 -> fmt_9. Fixes #281027
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 committed Jan 24, 2024
1 parent cf792a5 commit bf2c85f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf2c85f

Please sign in to comment.