Skip to content

[19.03] Sway 1.0 #57601

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

Merged
merged 12 commits into from
Mar 13, 2019
Merged

[19.03] Sway 1.0 #57601

merged 12 commits into from
Mar 13, 2019

Conversation

primeos
Copy link
Member

@primeos primeos commented Mar 13, 2019

Motivation for this change

Sway 0.15.x is old, unmaintained, and not as stable as Sway 1.0. We also want to avoid having the sway-beta module in a stable release.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

primeos added 6 commits March 13, 2019 22:46

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 0c89c44)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 7bf4323)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit eb2a26f)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 1240834)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
This is the result of executing:
git mv -f pkgs/applications/window-managers/sway/beta.nix pkgs/applications/window-managers/sway/default.nix
git mv -f nixos/modules/programs/sway-beta.nix nixos/modules/programs/sway.nix

And removing sway-beta from the following files:
pkgs/top-level/all-packages.nix
nixos/modules/module-list.nix

(cherry picked from commit 45004c6)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
This commit contains the following changes:
- nixos/sway: Remove the beta references
- sway: Drop buildDocs
- nixos/sway: Improve the documentation
- sway,nixos/sway: Adapt Sway to NixOS
  - Copy the default configuration file to /etc/sway/config (Sway will
    still load the identical file from the Nix store but this makes it
    easier to copy the default configuration file).
  - This will also remove all references to the Nix store from the
    default configuration file as they will eventually be garbage
    collected which is a problem if the user copies it.
  - I've also decided to drop the default wallpaper (alternatively we
    could copy it to a fixed location).
- nixos/sway: Drop the package option

(cherry picked from commit 578fe3f)
@primeos primeos requested a review from infinisil as a code owner March 13, 2019 21:50
@GrahamcOfBorg GrahamcOfBorg added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Mar 13, 2019
primeos added 6 commits March 13, 2019 23:07

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit afe0725)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit c484f07)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 7f43089)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 410650c)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 560c886)

Verified

This commit was signed with the committer’s verified signature.
primeos Michael Weiss
(cherry picked from commit 2170703)
@GrahamcOfBorg GrahamcOfBorg added 8.has: clean-up 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Mar 13, 2019
@primeos primeos merged commit 4012f58 into NixOS:release-19.03 Mar 13, 2019
@primeos
Copy link
Member Author

primeos commented Mar 13, 2019

Wow, 12 commits, there was quite some activity after the branch-off :)

I've successfully tested it with quemu (it required -vga qxl but I should probably use that anyway). There where a few minor problems but I'm pretty certain that's due to my qemu setup / virtualisation (there are also a few related issues in the Sway repository).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: clean-up 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants