From 776948aa785f946ea1498e656f4f9cd7638c5024 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Thu, 12 Mar 2026 10:04:10 -0500 Subject: Fix NixOS CI: pin pybind11 to 2.13.6 via pip (ABI compat with Docker build) Nixpkgs unstable has a newer pybind11 that removed the internal 'holder' member used by shared_cpp_owner.h. Pin to 2.13.6 to match our Docker build. Co-Authored-By: Claude Opus 4.6 --- nix/mobase-shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nix/mobase-shell.nix b/nix/mobase-shell.nix index f2b3930..c6b326e 100644 --- a/nix/mobase-shell.nix +++ b/nix/mobase-shell.nix @@ -19,9 +19,9 @@ pkgs.mkShell { qt6.qtsvg qt6.qtwayland - # Python + pybind11 + # Python (pybind11 installed via pip in shellHook to pin version) python313 - python313Packages.pybind11 + python313Packages.pip python313Packages.sip python313Packages.pyqt6 @@ -45,7 +45,8 @@ pkgs.mkShell { ]; shellHook = '' - export PYTHONPATH="${pkgs.python313Packages.pybind11}/${pkgs.python313.sitePackages}:$PYTHONPATH" + # Pin pybind11 to 2.13.6 (must match Docker build for ABI compat) + pip install --quiet pybind11==2.13.6 2>/dev/null || true export CMAKE_PREFIX_PATH="${pkgs.qt6.qtbase}:${pkgs.qt6.qtwebengine}:${pkgs.qt6.qtwebsockets}:${pkgs.qt6.qtsvg}:$CMAKE_PREFIX_PATH" ''; } -- cgit v1.3.1