From e521ac602864c397b6afee82fa553dacae563c55 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 Sep 2024 10:34:15 +0200 Subject: [PATCH] python312Packages.html2image: refactor --- pkgs/development/python-modules/html2image/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/html2image/default.nix b/pkgs/development/python-modules/html2image/default.nix index c53b9280eb59..bcf78da3db8f 100644 --- a/pkgs/development/python-modules/html2image/default.nix +++ b/pkgs/development/python-modules/html2image/default.nix @@ -21,13 +21,13 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace poetry.masonry.api poetry.core.masonry.api \ - --replace "poetry>=" "poetry-core>=" + --replace-fail poetry.masonry.api poetry.core.masonry.api \ + --replace-fail "poetry>=" "poetry-core>=" ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ requests websocket-client ];