From 8c83a97be4bc84233277f49ff75ff59114dd96d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 2 Jul 2023 04:44:04 +0200 Subject: [PATCH 1/2] pypy3Packages.pybind11: fix include directory --- pkgs/development/python-modules/pybind11/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 4ce742c363ff..7560f24c9da4 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -23,7 +23,7 @@ let substitutions = { out = placeholder "out"; pythonInterpreter = python.pythonOnBuildForHost.interpreter; - pythonIncludeDir = "${python}/include/python${python.pythonVersion}"; + pythonIncludeDir = "${python}/include/${python.libPrefix}"; pythonSitePackages = "${python}/${python.sitePackages}"; }; } ./setup-hook.sh; From 9cad683ff7ef877b02d3938e7450f0e7db10afe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 17 Sep 2025 18:39:04 +0200 Subject: [PATCH 2/2] pypy3Packages.pybind11: remove unused inputs --- pkgs/development/python-modules/pybind11/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 7560f24c9da4..4b49b52abe82 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -2,7 +2,6 @@ stdenv, lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, cmake, ninja, @@ -14,7 +13,6 @@ catch2, numpy, pytest, - libxcrypt, makeSetupHook, }: let