diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index b5d62482bf51..334525e79026 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -1,4 +1,4 @@ -{ callPackage, fetchgit, ... } @ args: +{ callPackage, fetchgit, fetchpatch, ... } @ args: callPackage ./generic.nix (args // rec { version = "9.2.0"; @@ -9,5 +9,12 @@ callPackage ./generic.nix (args // rec { sha256 = "0a2v3bgkrbkzardcw7ymlhhyjlwi08qmcm7g34y2sjsxk9bd78an"; }; - patches = [ ./fix-pythonpath.patch ]; + patches = [ + ./fix-pythonpath.patch + # For building with xfsprogs 4.5.0: + (fetchpatch { + url = "https://github.com/ceph/ceph/commit/602425abd5cef741fc1b5d4d1dd70c68e153fc8d.patch"; + sha256 = "1iyf0ml2n50ki800vjich8lvzmcdviwqwkbs6cdj0vqv2nc5ii1g"; + }) + ]; })