From 30c4b3714709ef88ea140434e8f7f5491891d484 Mon Sep 17 00:00:00 2001 From: Thierry Delafontaine Date: Sat, 5 Apr 2025 08:49:50 +0200 Subject: [PATCH] codechecker: add `distutils` to `propagatedBuildInputs` Python 3.12 removed the `distutils` module, which causes errors when running CodeChecker sub-commands. This patch adds `distutils` to ensure compatibility with Python 3.12. Related: [Ericsson/codechecker#4350](https://github.com/Ericsson/codechecker/issues/4350) --- pkgs/by-name/co/codechecker/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/co/codechecker/package.nix b/pkgs/by-name/co/codechecker/package.nix index f09011e8e68b..1c4317670a65 100644 --- a/pkgs/by-name/co/codechecker/package.nix +++ b/pkgs/by-name/co/codechecker/package.nix @@ -68,6 +68,7 @@ python3Packages.buildPythonApplication rec { ]; propagatedBuildInputs = with python3Packages; [ + distutils # required in python312 to call subcommands (see https://github.com/Ericsson/codechecker/issues/4350) lxml sqlalchemy alembic