From 8fdc715b1b1904e9ef6d9478cfa17fb707fc70d0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 11 Dec 2023 15:46:36 +0100 Subject: [PATCH] python312Packages.mkdocs: fix build --- pkgs/development/python-modules/mkdocs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/mkdocs/default.nix b/pkgs/development/python-modules/mkdocs/default.nix index ebde8b9da066..8a402510ec18 100644 --- a/pkgs/development/python-modules/mkdocs/default.nix +++ b/pkgs/development/python-modules/mkdocs/default.nix @@ -3,6 +3,7 @@ lib , buildPythonPackage , fetchFromGitHub +, pythonAtLeast , pythonOlder # buildtime @@ -25,6 +26,7 @@ # optional-dependencies , babel +, setuptools # testing deps , mock @@ -69,6 +71,8 @@ buildPythonPackage rec { passthru.optional-dependencies = { i18n = [ babel + ] ++ lib.optionals (pythonAtLeast "3.12") [ + setuptools ]; };