From abb6ad9548ead9055f869f1c4b99014a6778b6c4 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Fri, 2 Jan 2026 23:17:55 +0100 Subject: [PATCH] python3Packages.python-mapnik: remove superfluous stdenv parameter to buildPythonApplication Passing `stdenv` directly to `buildPythonPackage` or `buildPythonApplication` is deprecated with `oldestSupportedRelease = 2511`. Passing `python.stdenv` to `buildPythonApplication` doensn't do anything --- pkgs/development/python-modules/python-mapnik/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix index 5a37c6cc8d32..8c5874ea7f19 100644 --- a/pkgs/development/python-modules/python-mapnik/default.nix +++ b/pkgs/development/python-modules/python-mapnik/default.nix @@ -5,6 +5,7 @@ replaceVars, isPyPy, python, + stdenv, setuptools, pillow, pycairo, @@ -27,7 +28,7 @@ pybind11, }: -buildPythonPackage rec { +buildPythonPackage { pname = "python-mapnik"; version = "4.1.3.unstable-2025-09-25"; pyproject = true; @@ -49,8 +50,6 @@ buildPythonPackage rec { }) ]; - stdenv = python.stdenv; - build-system = [ setuptools ]; nativeBuildInputs = [