diff --git a/pkgs/by-name/po/poetry/plugins/poetry-audit-plugin.nix b/pkgs/by-name/po/poetry/plugins/poetry-audit-plugin.nix index ec9289738349..fd9c56acfea7 100644 --- a/pkgs/by-name/po/poetry/plugins/poetry-audit-plugin.nix +++ b/pkgs/by-name/po/poetry/plugins/poetry-audit-plugin.nix @@ -23,15 +23,19 @@ buildPythonPackage rec { hash = "sha256-kiNtzEup2ygCTk0zk8YV2jxAj6ZzOhP8v0U4FbV15hI="; }; - nativeBuildInputs = [ + build-system = [ poetry-core ]; + pythonRelaxDeps = [ + "poetry" + ]; + buildInputs = [ poetry ]; - propagatedBuildInputs = [ + dependencies = [ safety ];