-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
plasma: handle kbuildsycoca5 better #57037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
matthewbauer
merged 1 commit into
NixOS:master
from
matthewbauer:remove-xdg-desktop-menu-dummy
Mar 12, 2019
Merged
plasma: handle kbuildsycoca5 better #57037
matthewbauer
merged 1 commit into
NixOS:master
from
matthewbauer:remove-xdg-desktop-menu-dummy
Mar 12, 2019
+43
−3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Mar 7, 2019
Hopefully we can backport it to 19.03. |
928a9a0
to
eb8709a
Compare
c4695d3
to
0ec8fbd
Compare
- Remove xdg-desktop-menu-dummy.menu kbuildsycoca5. Not sure why we need it but it is a pretty big failure if it exists. See issue NixOS#56176. - plasma: clear ksycoca cache before building This is needed to pick up on software removed since the last cache update. Otherwise it hangs around as zombies forever (or until the cache is cleared). - Add the above + the icon cache cleanup to plasmaSetup This will be run for the logged in user on each nixos-rebuild. Unfortunately this only works if you are managing software through nixos-rebuild (nix-env users need to run this manually, otherwise log out and log back in).
0ec8fbd
to
393b359
Compare
Nice :) I always wanted to know who and why this file is created^^ |
I think there is a typo in line 247 of |
Doh! Thanks - I had completely looked over that! |
aszlig
pushed a commit
to aszlig/nixpkgs
that referenced
this pull request
Mar 14, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
6.topic: qt/kde
8.has: module (update)
This PR changes an existing module in `nixos/`
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 11-100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The xdg-desktop-menu-dummy.menu file breaks kbuildsycoca5. Not sure why but it is a pretty
big failure if it exists. See issue #56176.
xdg-settings-desktop creates this file for some reason. I have no idea
why this is created though. But, it is used by Chromium and some other
software to set stuff up.
Also remove the ksycoca5 cache. Otherwise removed software hangs around in the cache forever.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)