From a36d7378ac71d3e44b981946990429418303a4c1 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 31 Oct 2024 16:50:05 +0100 Subject: [PATCH] python312Packages.amaranth: unbreak by relaxing upper build system version constraint --- pkgs/development/python-modules/amaranth/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/amaranth/default.nix b/pkgs/development/python-modules/amaranth/default.nix index e79be265ba463..ebb79d5e9ba9e 100644 --- a/pkgs/development/python-modules/amaranth/default.nix +++ b/pkgs/development/python-modules/amaranth/default.nix @@ -31,6 +31,13 @@ buildPythonPackage rec { hash = "sha256-lPQw7fAVM7URdyC/9c/UIYsRxVXrLjvHODvhYBdlkkg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail \ + "pdm-backend~=2.3.0" \ + "pdm-backend>=2.3.0" + ''; + nativeBuildInputs = [ git ]; build-system = [ pdm-backend ];