Skip to content

Commit

Permalink
humble: fix building of qt-qui-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerbernd authored and lopsided98 committed Nov 5, 2024
1 parent 01bd072 commit ffc4fc8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 0 additions & 1 deletion distros/distro-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ let
-e "s#with open(os.path.join(tmpdirname, 'QtCore', 'QtCoremod.sip'), 'w') as outfp:##" \
-e "s#outfp.write(output)##" \
-i cmake/sip_configure.py
substituteInPlace cmake/sip_configure.py --replace "from distutils.spawn import find_executable" "from shutil import which as find_executable"
'';
});

Expand Down
15 changes: 15 additions & 0 deletions distros/humble/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@ in with lib; {
nativeBuildInputs = nativeBuildInputs ++ [ rosSelf.ros-environment ];
});

python-qt-binding = rosSuper.python-qt-binding.overrideAttrs ({
patches ? [], ...
}: {
patches = patches ++ [
(self.fetchpatch {
url = "https://github.com/ros-visualization/python_qt_binding/commit/e78372fd63eda527c9fad5fcdab8ca31eb3f36d2.patch";
hash = "sha256-8+58ggPUJmEQIS9C4RzT4PhK1pT9ms98nppn3ZA8AEo=";
})
(self.fetchpatch {
url = "https://github.com/ros-visualization/python_qt_binding/commit/ee4d43bcdb0c5c5d40f81dea3de6185298ab34a7.patch";
hash = "sha256-+n7wqQ9jDybwxVeUEjOQSQJh7nnU8JXv5DNCoK/5Sm4=";
})
];
});

rosidl-generator-py = rosSuper.rosidl-generator-py.overrideAttrs ({
postPatch ? "", ...
}: let
Expand Down

0 comments on commit ffc4fc8

Please sign in to comment.