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
make-desktopitem: make genericName optional #26416
Conversation
/cc @lethalman @vcunat @ttuegel Changed |
@GrahamcOfBorg eval |
Is there any particular reason why we are creating the .desktop file under share/applications instead of just in the root of the derivation? The .desktop are always copied into place later as well as processed again later to fix up paths so there isn't much point in having to dig it out from a directory structure several directories deep. |
@peterhoeg I don't know what the reason for that decision was originally, but I agree that putting it in the root would make more sense. Unfortunately, that would be a breaking change. Doing Would it make sense to change that in this PR since this PR will cause a rebuild anyway, or would it be better to have such a change in a different PR, since it really is a different sort of change? |
I think it makes sense to do it in 2 different PRs but then simply merge them at the same time. |
Would the second branch be based on master or on this branch? If master, then there will be merge conflicts in If this branch, then the diff is going to be a bit deceiving until this PR goes through. Also, this branch is so old that we probably can't change all those files and expect to merge back into master without conflict. My preference: merge this PR and then make a new branch off master to make the |
I tend to agree with this; the changes are orthogonal and can live fine independently from each-other. (Abstracting away the wish to not incurr two rebuilds) Additionally, some I have verified a couple of the affected derivations (some I expected a short build time for), and all work as-is. Tried removing a |
Motivation for this change
There are several changes in this PR.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
I have not done this. It looks like this function gets used in almost 80 different files, so it could be a fairly big rebuild../result/bin/
)