Skip to content

Fix handling of missing extra-cmake-modules in Nix#283

Merged
nhktmdzhg merged 2 commits into
LotusInputMethod:devfrom
justanoobcoder:fix-extra-cmake-modules
May 15, 2026
Merged

Fix handling of missing extra-cmake-modules in Nix#283
nhktmdzhg merged 2 commits into
LotusInputMethod:devfrom
justanoobcoder:fix-extra-cmake-modules

Conversation

@justanoobcoder
Copy link
Copy Markdown
Contributor

Handle lỗi thiếu extra-cmake-modules cho nhiều system khác nhau. Fix issue #282

Tuỳ vào system khác nhau mà nó sẽ dùng extra-cmake-modules hoặc kdePackages.extra-cmake-modules. PR này sẽ check cái nào available thì chọn cái đó.

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 refactors the fcitx5-lotus Nix package to make the extra-cmake-modules dependency more flexible by allowing it to be passed directly or retrieved from kdePackages. The review feedback suggests improving the safety of the attribute lookup within kdePackages using the ? operator to prevent potential missing attribute errors and recommends a more descriptive error message for the throw statement.

Comment thread nix/packages/fcitx5-lotus/default.nix
@nhktmdzhg nhktmdzhg merged commit 62e0385 into LotusInputMethod:dev May 15, 2026
21 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Kanban May 15, 2026
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