diff --git a/pkgs/development/libraries/librealsense/default.nix b/pkgs/development/libraries/librealsense/default.nix index 135969210d36..59bc2a056616 100644 --- a/pkgs/development/libraries/librealsense/default.nix +++ b/pkgs/development/libraries/librealsense/default.nix @@ -52,6 +52,12 @@ stdenv.mkDerivation rec { ./py_pybind11_no_external_download.patch ]; + postPatch = '' + # https://github.com/IntelRealSense/librealsense/issues/11092 + # insert a "#include ' -i wrappers/python/pyrs_device.cpp + ''; + nativeBuildInputs = [ cmake ninja