diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index 30630b83e3b4..04e641b11cc5 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -30,11 +30,11 @@ buildPythonPackage rec { export DYLD_LIBRARY_PATH="${libgit2}/lib" ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; buildInputs = [ libgit2 ]; - propagatedBuildInputs = [ + dependencies = [ cached-property pycparser ] ++ lib.optionals (!isPyPy) [ cffi ];