diff --git a/pkgs/by-name/ce/ceph/python-common.nix b/pkgs/by-name/ce/ceph/python-common.nix index 1bbc30244875..6d2dae9720de 100644 --- a/pkgs/by-name/ce/ceph/python-common.nix +++ b/pkgs/by-name/ce/ceph/python-common.nix @@ -6,13 +6,18 @@ ceph-python.pkgs.buildPythonPackage { pname = "ceph-common"; - format = "setuptools"; inherit (ceph-src) version; src = ceph-src; + pyproject = true; + sourceRoot = "${ceph-src.name}/src/python-common"; - propagatedBuildInputs = with ceph-python.pkgs; [ + build-system = with ceph-python.pkgs; [ + setuptools + ]; + + dependencies = with ceph-python.pkgs; [ pyyaml ];