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
sway-beta: 1.0-beta.2 -> 1.0-rc1 #55117
Conversation
@@ -60,10 +60,11 @@ in { | |||
extraPackages = mkOption { | |||
type = with types; listOf package; | |||
default = with pkgs; [ | |||
swaylock swayidle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will probably still (temporarily) break a few setups as it obviously doesn't apply if extraPackages
was overridden but IMO it's still the best option (e.g. compared to forcing these packages, introducing additional options, ...). We could print a warning if they're missing but that would be annoying for users who use other packages. And since it's a beta module I don't think this is a big problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I this is the only correct way to do it, as they are independent executables that do not depend on each other (since sway v1.0).
It has been released now 🎉 What is the current status of sway on nixos? I remember that there is an overlay for sway? Is that needed? Could I run the |
We have two modules for
Only if you want to have the most recent version and a few extra packages for Wayland that aren't in nixpkgs yet (AFAIK/IIRC).
Not sure, I didn't have any problems so far (no crashes or major bugs) but that probably depends on your hardware and applications. I assume it isn't as stable as |
Alright, thank you for the summary! Excited to see this mature. |
@primeos Awesome! Thanks for casting |
Yeah, this is spot on - https://github.com/colemickens/nixpkgs-wayland - the README example snippet includes some one-liner descriptions of the additional packages included as well, though they're increasingly having stable releases and are appearing in nixpkgs thanks to @primeos etc. Overtime the overlay will probably just be used by people wanting to run HEAD builds. (Also, I use Sway as a daily driver. It's mostly okay, I'm willing to make compromises to get Wayland+mixed DPI support) |
Motivation for this change
Will be released in ~3h and since a few things changed I decided to test it in advance.
cc @gnidorah @colemickens @Synthetica FYI and in case I missed something
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)