Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ab6eebbe2048
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a4b93e33c35
Choose a head ref
  • 9 commits
  • 6 files changed
  • 1 contributor

Commits on Jan 18, 2020

  1. Copy the full SHA
    1db77e5 View commit details

Commits on Jan 22, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ce6dd5e View commit details
  2. Copy the full SHA
    0c94281 View commit details
  3. Copy the full SHA
    beca091 View commit details
  4. nixos/sway: Install the new default terminal emulator

    The default changed in Sway 1.3 from rxvt_unicode to alacritty. For
    backward compatibility we'll install both terminal emulators by default.
    primeos committed Jan 22, 2020
    Copy the full SHA
    e99b32d View commit details
  5. Copy the full SHA
    6288a57 View commit details
  6. Copy the full SHA
    2a2f4ff View commit details
  7. cage: 0.1.1 -> 2020-01-18

    primeos committed Jan 22, 2020
    Copy the full SHA
    4eedf77 View commit details

Commits on Jan 23, 2020

  1. Merge pull request #76787 from primeos/sway

    sway: 1.2 -> 1.4, wlroots: 0.8.1 -> 0.10.0
    primeos authored Jan 23, 2020
    Copy the full SHA
    5a4b93e View commit details
3 changes: 2 additions & 1 deletion nixos/modules/programs/sway.nix
Original file line number Diff line number Diff line change
@@ -87,7 +87,8 @@ in {
type = with types; listOf package;
default = with pkgs; [
swaylock swayidle
xwayland rxvt_unicode dmenu
xwayland alacritty dmenu
rxvt_unicode # For backward compatibility (old default terminal)
];
defaultText = literalExample ''
with pkgs; [ swaylock swayidle xwayland rxvt_unicode dmenu ];
18 changes: 12 additions & 6 deletions pkgs/applications/window-managers/cage/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
{ stdenv, fetchFromGitHub
{ stdenv, fetchFromGitHub, fetchpatch
, meson, ninja, pkgconfig, makeWrapper
, wlroots, wayland, wayland-protocols, pixman, libxkbcommon
, systemd, libGL, libX11
, xwayland ? null
}:

stdenv.mkDerivation rec {
pname = "cage";
version = "0.1.1";
pname = "cage-unstable";
version = "2020-01-18";
# The last stable release (0.1.1) would require at least the following 3 patches:
# - https://github.com/Hjdskes/cage/commit/33bb3c818c5971777b6f09d8821e7f078d38d262.patch
# - https://github.com/Hjdskes/cage/commit/51e6c760da51e2b885737d61a61cdc965bb9269d.patch
# - https://github.com/Hjdskes/cage/commit/84216ca2a417b237ad61c11e2f3ebbcb91681ece.patch
# Which need to be adapted due to other changes. At this point it seems
# better to use the current master version until the next stable release.

src = fetchFromGitHub {
owner = "Hjdskes";
repo = pname;
rev = "v${version}";
sha256 = "1vp4mfkflrjmlgyx5mkbzdi3iq58m76q7l9dfrsk85xn0642d6q1";
repo = "cage";
rev = "cc1f975c442ebd691b70196d76aa120ead717810";
sha256 = "1gkqx26pvlw00b3fgx6sh87yyjfzyj51jwxvbf9k117npkrf4b2g";
};

nativeBuildInputs = [ meson ninja pkgconfig makeWrapper ];
4 changes: 2 additions & 2 deletions pkgs/applications/window-managers/sway/default.nix
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@

stdenv.mkDerivation rec {
pname = "sway-unwrapped";
version = "1.2";
version = "1.4";

src = fetchFromGitHub {
owner = "swaywm";
repo = "sway";
rev = version;
sha256 = "0vch2zm5afc76ia78p3vg71zr2fyda67l9hd2h0x1jq3mnvfbxnd";
sha256 = "11qf89y3q92g696a6f4d23qb44gqixg6qxq740vwv2jw59ms34ja";
};

patches = [
9 changes: 7 additions & 2 deletions pkgs/applications/window-managers/sway/idle.nix
Original file line number Diff line number Diff line change
@@ -5,15 +5,20 @@

stdenv.mkDerivation rec {
pname = "swayidle";
version = "1.5";
version = "1.6";

src = fetchFromGitHub {
owner = "swaywm";
repo = "swayidle";
rev = version;
sha256 = "05qi96j58xqxjiighay1d39rfanxcpn6vlynj23mb5dymxvlaq9n";
sha256 = "1nd3v8r9549lykdwh4krldfl59lzaspmmai5k1icy7dvi6kkr18r";
};

postPatch = ''
substituteInPlace meson.build \
--replace "version: '1.5'" "version: '${version}'"
'';

nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols systemd ];

7 changes: 4 additions & 3 deletions pkgs/applications/window-managers/sway/lock.nix
Original file line number Diff line number Diff line change
@@ -5,17 +5,18 @@

stdenv.mkDerivation rec {
pname = "swaylock";
version = "1.4";
version = "1.5";

src = fetchFromGitHub {
owner = "swaywm";
repo = "swaylock";
rev = version;
sha256 = "1ii9ql1mxkk2z69dv6bg1x22nl3a46iww764wqjiv78x08xpk982";
sha256 = "0r95p4w11dwm5ra614vddz83r8j7z6gd120z2vcchy7m9b0f15kf";
};

postPatch = ''
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
substituteInPlace meson.build \
--replace "version: '1.4'" "version: '${version}'"
'';

nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
17 changes: 4 additions & 13 deletions pkgs/development/libraries/wlroots/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, fetchpatch
, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa
, libpng, ffmpeg_4, freerdp
, libpng, ffmpeg_4
}:

stdenv.mkDerivation rec {
pname = "wlroots";
version = "0.8.1";
version = "0.10.0";

src = fetchFromGitHub {
owner = "swaywm";
repo = "wlroots";
rev = version;
sha256 = "1ak86kx617c81dy85wg9rldy1z3n8ch93cjc05a4j6sifv0nkyfm";
sha256 = "0c0q1p9yss5kx4430ik3n89drqpmm2bvgl8fjlf6prac1a7xzqn8";
};

patches = [
# add missing header that changed in mesa-19.2.2
# https://github.com/swaywm/wlroots/issues/1862
(fetchpatch {
url = "https://github.com/swaywm/wlroots/commit/d113e48a2a32542fe6e12f1759f07888364609bf.diff";
sha256 = "1h09j1gmnzlz4py92a92chgy8xzsd8h8xn5irq9s2hq4cla66h87";
})
];

# $out for the library and $examples for the example programs (in examples):
outputs = [ "out" "examples" ];

@@ -32,7 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = [
wayland libGL wayland-protocols libinput libxkbcommon pixman
xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa
libpng ffmpeg_4 freerdp
libpng ffmpeg_4
];

mesonFlags = [