gnomeExtensions: refactor pnames and derivations headers#86430
gnomeExtensions: refactor pnames and derivations headers#86430firmero wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
Sounds reasonable, though can't quite remember what's the convention with the unstable bit (ie. should it be part of the name or version). |
Grepping on repo:
|
|
And also it makes it simpler in the future to switch to release tags (e.g. current upstream doesn't provide yet). Then we need just update version field instead of both pname and version. To user it doesn't make any difference, i think, because he/she sees package name as concatenation of pname and version field. |
hedning
left a comment
There was a problem hiding this comment.
Yep, that makes sense :)
|
I believe we shouldn't actually do this #68518 |
|
I am confused. So, there is no official guideline for package naming which cover that problem yet? I found only #sec-package-naming from Nixpkgs Users and Contributors Guide. |
|
Here's the main reason Notice how |
|
Yes that is an argument for having it in Until this issue is resolved, I am uncertain which variant should we promote. Maybe we can side-step it by recommending |
|
So, it is ok for now to use I also don't know how to cope with schema of an extension. Can be copied to /share/gsettings-schemas/$extension/glib-2.0/schemas using Also nix files for gnome extensions doesn't seem to me consistent (e.g. prefix of pname is not always gnome-shell-extension, version field via let, and so on) and for novice who wants to take an inspiration and contribute it is not so kind. |
1+ |
|
I marked this as stale due to inactivity. → More info |
|
Thank you for your work on this. A lot has happened since you opened, please start anew (I don't think a rebase in the git sense would work) on top of master.
|
Motivation for this change
Refactoring:
unstablein version field instead of pnameThings done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)