3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from pbsds/pyrealsense2-zhfail

pythonPackages.pyrealsense2: fix breakage
This commit is contained in:
Artturi 2022-11-11 15:57:38 +02:00 committed by GitHub
commit 3aec129c1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,12 @@ stdenv.mkDerivation rec {
./py_pybind11_no_external_download.patch
];
postPatch = ''
# https://github.com/IntelRealSense/librealsense/issues/11092
# insert a "#include <iostream" at beginning of file
sed '1i\#include <iostream>' -i wrappers/python/pyrs_device.cpp
'';
nativeBuildInputs = [
cmake
ninja