Commit b5de99d2 authored by Artturin's avatar Artturin
Browse files

python311Packages.pykdl: Fix cross

`cmake` finds the python in `propagatedBuildInputs`, adding python to `nativeBuildInputs` doesn't fix the issue.

`find_package(PythonInterp ${PYTHON_VERSION} REQUIRED)`
parent c40ee67f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ toPythonModule (
    ];
    propagatedBuildInputs = [ python ];

    cmakeFlags = [ "-DPYTHON_EXECUTABLE=${lib.getExe python.pythonOnBuildForHost}" ];

    meta = with lib; {
      description = "Kinematics and Dynamics Library (Python bindings)";
      homepage = "https://www.orocos.org/kdl.html";