mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
Fix python-qt-binding with SIP 6
This commit is contained in:
parent
36d7c77d19
commit
8f88a50b45
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ let
|
|||
}: {
|
||||
propagatedNativeBuildInputs = propagatedNativeBuildInputs ++ [ rosSelf.pythonPackages.sip_4 ];
|
||||
postPatch = ''
|
||||
sed -e "s#sipconfig\._pkg_config\['default_sip_dir'\]#'${rosSelf.pythonPackages.pyqt5}/share/sip'#" \
|
||||
sed -e "s#sipconfig\._pkg_config\['default_mod_dir'\]#'${rosSelf.pythonPackages.pyqt5}/${rosSelf.pythonPackages.python.sitePackages}'#" \
|
||||
-e "s#qtconfig\['QT_INSTALL_HEADERS'\]#'${self.qt5.qtbase.dev}/include'#g" \
|
||||
-i cmake/sip_configure.py
|
||||
'' + postPatch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue