-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Nix: corrections for overlays, overrideable systems #75
Conversation
@fufexan I am conflicted about the naming of the |
Sure, let's use the full name. |
Should |
54d73d6
to
60e21fb
Compare
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" ] |
791a4ba
to
d72ecc9
Compare
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 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 |
d72ecc9
to
2f6432d
Compare
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.