From dd793645a8dfcc1937e473ec29eb06e524505a1d Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Mon, 12 Dec 2022 01:17:10 -0500 Subject: [PATCH] python310Packages.monai: unbreak Upstream added a `monai[ninja]` install option and a corresponding `ninja = ` in `setup.cfg`, which broke a previous hack around `setuptools` not detecting `ninja` correctly. --- pkgs/development/python-modules/monai/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/monai/default.nix b/pkgs/development/python-modules/monai/default.nix index faa8e112c530..df8f7492f63a 100644 --- a/pkgs/development/python-modules/monai/default.nix +++ b/pkgs/development/python-modules/monai/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { # Ninja is not detected by setuptools for some reason even though it's present: postPatch = '' - substituteInPlace "setup.cfg" --replace "ninja" "" + substituteInPlace "setup.cfg" --replace " ninja" "" ''; preBuild = ''