Skip to content

Commit

Permalink
sway: 1.7 -> 1.8
Browse files Browse the repository at this point in the history
Release notes:
- Sway: https://github.com/swaywm/sway/releases/tag/1.8
- wlroots: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.16.0

Known user-facing breaking changes:
- Manufacturer names in output identifiers might have changed:
  https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3541#note_1384124
- The output dpms command has been deprecated (superseded by output power):
  swaywm/sway#7083
  • Loading branch information
primeos committed Dec 26, 2022
1 parent b43f29b commit 9896c88
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pkgs/applications/window-managers/sway/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ lib, stdenv, fetchFromGitHub, substituteAll, swaybg
, meson, ninja, pkg-config, wayland-scanner, scdoc
, wayland, libxkbcommon, pcre, json_c, libevdev
, wayland, libxkbcommon, pcre2, json_c, libevdev
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
, wlroots, wayland-protocols, libdrm
, wlroots_0_16, wayland-protocols, libdrm
, nixosTests
# Used by the NixOS module:
, isNixOS ? false

, enableXWayland ? true
, enableXWayland ? true, xorg
, systemdSupport ? stdenv.isLinux
, dbusSupport ? true
, dbus
Expand All @@ -23,13 +23,13 @@ let sd-bus-provider = if systemdSupport then "libsystemd" else "basu"; in

stdenv.mkDerivation rec {
pname = "sway-unwrapped";
version = "1.7";
version = "1.8";

src = fetchFromGitHub {
owner = "swaywm";
repo = "sway";
rev = version;
sha256 = "0ss3l258blyf2d0lwd7pi7ga1fxfj8pxhag058k7cmjhs3y30y5l";
hash = "sha256-r5qf50YK0Wl0gFiFdSE/J6ZU+D/Cz32u1mKzOqnIuJ0=";
};

patches = [
Expand Down Expand Up @@ -59,12 +59,14 @@ stdenv.mkDerivation rec {
];

buildInputs = [
wayland libxkbcommon pcre json_c libevdev
wayland libxkbcommon pcre2 json_c libevdev
pango cairo libinput libcap pam gdk-pixbuf librsvg
wayland-protocols libdrm
(wlroots.override { inherit enableXWayland; })
(wlroots_0_16.override { inherit enableXWayland; })
] ++ lib.optionals dbusSupport [
dbus
] ++ lib.optionals enableXWayland [
xorg.xcbutilwm
];

mesonFlags =
Expand Down

0 comments on commit 9896c88

Please sign in to comment.