Skip to content

qt: fix kde platformTheme#1866

Closed
meenzen wants to merge 1 commit intonix-community:masterfrom
meenzen:fix/qt-theme
Closed

qt: fix kde platformTheme#1866
meenzen wants to merge 1 commit intonix-community:masterfrom
meenzen:fix/qt-theme

Conversation

@meenzen
Copy link
Copy Markdown
Contributor

@meenzen meenzen commented Aug 26, 2025

closes #1865


Submission Checklist

Copilot AI review requested due to automatic review settings August 26, 2025 09:19
@stylix-automation stylix-automation bot added topic: nixos NixOS target topic: modules /modules/ subsystem labels Aug 26, 2025
@meenzen meenzen marked this pull request as draft August 26, 2025 09:20

This comment was marked as spam.

@0xda157
Copy link
Copy Markdown
Contributor

0xda157 commented Aug 26, 2025

Copilot review requested due to automatic review settings

hmm not sure what this is about, we should figure out how to disable this cc @trueNAHO @danth

@trueNAHO
Copy link
Copy Markdown
Member

Copilot review requested due to automatic review settings

hmm not sure what this is about, we should figure out how to disable this cc @trueNAHO @danth

AFAIK, I have never clicked on anything inside the GitHub interface that says "AI" or "Copilot". Maybe this is a transitive change done by the nix-community organization?

@0xda157
Copy link
Copy Markdown
Contributor

0xda157 commented Aug 26, 2025

Copilot review requested due to automatic review settings

hmm not sure what this is about, we should figure out how to disable this cc @trueNAHO @danth

AFAIK, I have never clicked on anything inside the GitHub interface that says "AI" or "Copilot". Maybe this is a transitive change done by the nix-community organization?

It seems the author of this pr probably has it enabled for all the prs they create, we should probably make a policy on LLMs for Stylix.

Copy link
Copy Markdown
Member

@trueNAHO trueNAHO left a comment

Choose a reason for hiding this comment

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

From a quick read, it seems Home Manager maintains aliases:

Should we also replace "kde6" with "kde" in our Home Manager module, and potentially upstream this?

@trueNAHO
Copy link
Copy Markdown
Member

trueNAHO commented Aug 26, 2025

Copilot review requested due to automatic review settings

hmm not sure what this is about, we should figure out how to disable this cc [trueNAHO danth]

AFAIK, I have never clicked on anything inside the GitHub interface that says "AI" or "Copilot". Maybe this is a transitive change done by the nix-community organization?

It seems the author of this pr probably has it enabled for all the prs they create, we should probably make a policy on LLMs for Stylix.

Is it not possible to disable Copilot repo-wide in some setting? From a quick search 1 2 3, this seems like an unsolved Computer Science problem...

Since this is the first time this happens, we can just ignore this for now. AFAIK, the Nix community does not really use Copilot, so this should rarely happen.

@meenzen
Copy link
Copy Markdown
Contributor Author

meenzen commented Aug 26, 2025

Yeah sorry about the confusion, copilot review was enabled for all of my MRs. It has nothing to do with this specific repo.

@trueNAHO
Copy link
Copy Markdown
Member

Aside from resolving #1866 (review), is this PR ready to merge? This PR is currently in draft mode.

@meenzen
Copy link
Copy Markdown
Contributor Author

meenzen commented Aug 26, 2025

This was just my quick and dirty attempt to fix the issue. Since Home Manager is currently broken as well I am not able to verify this fix yet.

@meenzen meenzen marked this pull request as ready for review August 31, 2025 20:47
@meenzen
Copy link
Copy Markdown
Contributor Author

meenzen commented Aug 31, 2025

Now that home-manager has been fixed (nix-community/home-manager#7746) I can confirm this fixes the build for me.

trueNAHO added a commit to 0xda157/stylix that referenced this pull request Sep 4, 2025
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --write --unsafe
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0ed ("treewide:
remove Plasma 5 support dropped upstream (nix-community#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: NixOS/nixpkgs@31d5c4e
[2]: nix-community/home-manager@1e75978

Closes: nix-community#1865
Link: nix-community#1866
Link: nix-community#1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
trueNAHO added a commit to 0xda157/stylix that referenced this pull request Sep 4, 2025
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --unsafe --write
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0ed ("treewide:
remove Plasma 5 support dropped upstream (nix-community#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: NixOS/nixpkgs@31d5c4e
[2]: nix-community/home-manager@1e75978

Closes: nix-community#1865
Link: nix-community#1866
Link: nix-community#1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
@trueNAHO trueNAHO mentioned this pull request Sep 4, 2025
6 tasks
Copy link
Copy Markdown
Member

@trueNAHO trueNAHO left a comment

Choose a reason for hiding this comment

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

Now that home-manager has been fixed (nix-community/home-manager#7746) I can confirm this fixes the build for me.

LGTM. However, ideally this PR should not be merged without updating our relevant inputs. I have cherry-picked this patch into #1881, superseding this PR.

trueNAHO added a commit that referenced this pull request Sep 5, 2025
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --unsafe --write
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0ed ("treewide:
remove Plasma 5 support dropped upstream (#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: NixOS/nixpkgs@31d5c4e
[2]: nix-community/home-manager@1e75978

Closes: #1865
Link: #1866
Link: #1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
@trueNAHO
Copy link
Copy Markdown
Member

trueNAHO commented Sep 5, 2025

I have cherry-picked this patch into #1881, superseding this PR.

Superseded-by: 0e7b897

Thanks for fixing this.

@trueNAHO trueNAHO closed this Sep 5, 2025
@meenzen meenzen deleted the fix/qt-theme branch September 5, 2025 20:58
MrSom3body pushed a commit to MrSom3body-contrib/stylix that referenced this pull request Sep 18, 2025
Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:

    biome check --unsafe --write
    pre-commit run --all-files

Rename the KDE platform, following local commit f47c0ed ("treewide:
remove Plasma 5 support dropped upstream (nix-community#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").

[1]: NixOS/nixpkgs@31d5c4e
[2]: nix-community/home-manager@1e75978

Closes: nix-community#1865
Link: nix-community#1866
Link: nix-community#1881

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: modules /modules/ subsystem topic: nixos NixOS target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

qt: platformTheme kde6 no longer exists in nixpkgs

4 participants