Closed spikespaz closed 1 year ago
@fufexan I am conflicted about the naming of the xdph
overlay. I like that it is shorter as xdph
, and it is unique enough that there should be low chance of conflict. On the other hand, it is inconsistent with the name of the package. What is your opinion? Should the xdph
overlay be renamed to match the xdg-desktop-portal-hyprland
package name?
Sure, let's use the full name.
Sure, let's use the full name.
Should share-picker
also be hyprland-share-picker
or xdph-share-picker
?
I have renamed both names for both packages and overlays:
$ nix eval 'path:.#overlays' --apply 'builtins.attrNames'
[ "default" "hyprland-share-picker" "xdg-desktop-portal-hyprland" ]
$ nix eval 'path:.#packages.x86_64-linux' --apply 'builtins.attrNames'
[ "default" "hyprland-share-picker" "xdg-desktop-portal-hyprland" ]
Do we need to separate xdph and the picker in different overlays though?
Do we need to separate xdph and the picker in different overlays though?
It would be nice to do, just in case someone (me) wants to specify their own overlay for one or the other. I was doing this because for hyprland-flake
specifically, which has a default
overlay, I was having a hard time determining what overlays to join as default
. If they have separate names this becomes much easier rather than relying on upstream repositories to always keep the same outputs.
IMO it doesn't matter much, but is nice to have when needed. Saves me some code, and thinking.
Once this is merged I will update the other three flakes accordingly. End-users will have to use the new name hyprland-share-picker
from the packages
output instead of share-picker
.
nix fmt
command did not work for me so I have reverted it to uselegacyPackages
for simplicity. It works now.default
overlay, which would make it hard to get individual packages out from the overlay. Would need an extra wrapper function. Now each package has its own overlay, whiledefault
combines them all. Brought inmkJoinedOverlays
from the Hyprland flake.version
intonix/overlays.nix
.Alexays/Waybar
and pull the first version fragment frommeson.build
.nix-systems
so that thesystems
is overrideable. I like this much better than usingflake-utils
orflake-parts
.default-linux
, which is[ "x86_64-linux" "aarch64-linux" ]
.nixpkgs
to correct for undocumented deprecation ofsystem
.packages
output are inherited from internalpkgsFor
, which contains all of the overlays pre-applied.