Skip to content

NixOS: Make several Qt entries Qt5/6-independent - #53118

Merged
mjcarroll merged 1 commit into
ros:masterfrom
wentasah:nixos-qt-dev
Aug 11, 2026
Merged

NixOS: Make several Qt entries Qt5/6-independent#53118
mjcarroll merged 1 commit into
ros:masterfrom
wentasah:nixos-qt-dev

Conversation

@wentasah

@wentasah wentasah commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

On Ubuntu and RHEL, these entries refer to Qt5 or Qt6 depending on the underlying distribution. In Nix, we build all packages against the same distribution (nixos-unstable), so we have to make this distinction differently. We define the rosdep keys to resolve to package set qt5or6 and this package set is then defined in nix-ros-overlay as an alias of qt5 or qt6 depending on ROS distribution. The qt5or6 package set is introduced in lopsided98/nix-ros-overlay#905 and will be merged after this PR.

This is similar approach to what we used previously for python3-qt-bindings.

On Ubuntu and RHEL, these entries refer to Qt5 or Qt6 depending on the
underlying distribution. In Nix, we build all packages against the
same distribution (nixos-unstable), so we have to make this
distinction differently. We define the rosdep keys to resolve to
package set qt5or6 and this package set is then defined in
nix-ros-overlay as an alias of qt5 or qt6 depending on ROS
distribution.

This is similar approach to what we used previously for
python3-qt-bindings.
@wentasah
wentasah requested a review from a team as a code owner August 7, 2026 18:18
@github-actions github-actions Bot added the rosdep Issue/PR is for a rosdep key label Aug 7, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For changes related to rosdep:

  • ✅ Platforms for new rosdep rules are valid

For changes related to yamllint:

  • ✅ All new lines of YAML pass linter checks

@mergify

mergify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

clalancette

This comment was marked as outdated.

@mjcarroll
mjcarroll merged commit 55d4fd5 into ros:master Aug 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rosdep Issue/PR is for a rosdep key

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants