kdePackages.full: No .desktop files generated
Nixpkgs version
- Stable (25.05)
Describe the bug
When installing kdePackages.full in a configuration.nix, I can see on search.nixos that it provides many programs like designer. But none of those show up in an application launcher like Plasma's default, because the nix package doesn't build desktop files.
Steps to reproduce
- Add
kdePackages.fullto aconfiguration.nixuser packages - Rebuild the system
Expected behaviour
.desktop files to appear in /run/current-system/sw/share/applications or .local/share/applications
Screenshots
No response
Relevant log output
Additional context
I tried to look at the source of kdePackages.full from search.nixos but it points to pkgs/build-support/trivial-builders
I am still new with Nix, but I don't think that is the correct link, because I have made some packages for myself and can read the syntax. I tried to look in the kde subfolder of nixpkgs, but didn't find a full default.nix.
System metadata
~> nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.93, NixOS, 24.11 (Vicuna), 24.11.20250619.d883b62`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.24.14`
- channels(root): `"home-manager-24.11.tar.gz, nixos-24.11"`
- nixpkgs: `/nix/store/kr7k644p5ajrm7ycm0jxd3xr120klzjn-source`
Notify maintainers
There are no maintainers listed
Maintainers
This package has no maintainers. If you find it useful, please consider becoming a maintainer!
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- [x] I assert that this is a bug and not a support request.
- [x] I assert that this is not a duplicate of an existing issue.
- [x] I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a :+1: reaction to issues you find important.
For reference, the Arch-Linux package qt6-tools does provide the desktop files for assistant, designer, linguist, and qdbusviewer
There does exist a kdePackages.qttools but that one also doesn't generate the desktop files. But that is for a separate bug report I guess? Or is that more of a feature request?
cc @NixOS/qt-kde
Could you check that with my PR you can see the icons in the launcher ?
https://github.com/NixOS/nixpkgs/pull/441994
https://github.com/NixOS/nixpkgs/pull/441994#issuecomment-3279705976
The fix is included in qt 6.10 which should release in the coming months.
If you want it to work now you can always cherry-pick my commit on top of nixos-25.05 but be aware that this will recompile a lot of packages.
Sorry for not getting back to you sooner. Good to know it's included in qt 6.10, I can keep using the CLI for now so it's no problem. Thanks for your time!