Skip to content

Dev#281

Merged
nhktmdzhg merged 4 commits into
mainfrom
dev
May 14, 2026
Merged

Dev#281
nhktmdzhg merged 4 commits into
mainfrom
dev

Conversation

@nhktmdzhg
Copy link
Copy Markdown
Collaborator

No description provided.

@github-project-automation github-project-automation Bot moved this to Backlog in Kanban May 14, 2026
@nhktmdzhg nhktmdzhg merged commit 024532e into main May 14, 2026
38 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Kanban May 14, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the nixpkgs flake lock and modifies the fcitx5-lotus package definition to source extra-cmake-modules from kdePackages. Feedback suggests ensuring consistency by also sourcing Qt base and wrapping hooks from kdePackages, and recommends refactoring the Python package list to use direct attribute access instead of the with keyword for better clarity.

nativeBuildInputs = [
cmake
extra-cmake-modules
kdePackages.extra-cmake-modules
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

When using kdePackages.extra-cmake-modules, it is recommended to also use kdePackages.qtbase and kdePackages.wrapQtAppsHook (instead of the top-level qt6 attributes) to ensure that all Qt/KDE components are sourced from the same consistent package set. This prevents potential issues with mismatched Qt versions in the build environment.

Comment on lines +45 to +51
(python3.withPackages (
ps: with ps; [
pyqt6
dbus-python
qtpy
]))
]
))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The reformatted Python package list is unnecessarily verbose and continues to use the with keyword, which is generally discouraged in Nixpkgs as it can lead to scoping issues and makes it less clear where each package originates. A more idiomatic and concise approach is to access the packages directly from the ps argument.

    (python3.withPackages (ps: [
      ps.pyqt6
      ps.dbus-python
      ps.qtpy
    ]))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants