about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/cagebreak
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-06-23 14:41:18 +0200
committerMichael Weiss <dev.primeos@gmail.com>2021-06-24 22:15:17 +0200
commit203c8edcdac9491912cb21fa9d84392cb6a69eef (patch)
tree600b12d6c8f3fffebbbde753d9221066b6d1563e /pkgs/applications/window-managers/cagebreak
parent72dac3d449e238a1b223c8275dcacf8b48e719ab (diff)
downloadnixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar.gz
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar.bz2
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar.lz
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar.xz
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.tar.zst
nixlib-203c8edcdac9491912cb21fa9d84392cb6a69eef.zip
wlroots: 0.13.0 -> 0.14.0
The new release comes with breaking changes so we temporarily introduce
wlroots_0_13 for packages that don't yet support wlroots 0.14.
For the rest of the packages the required upstream patches for this new
wlroots release are fetched (if feasible).
Diffstat (limited to 'pkgs/applications/window-managers/cagebreak')
-rw-r--r--pkgs/applications/window-managers/cagebreak/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/cagebreak/default.nix b/pkgs/applications/window-managers/cagebreak/default.nix
index d88bc0cdbdfe..d3da358b6396 100644
--- a/pkgs/applications/window-managers/cagebreak/default.nix
+++ b/pkgs/applications/window-managers/cagebreak/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , cairo
 , fontconfig
 , libxkbcommon
@@ -31,6 +32,15 @@ stdenv.mkDerivation rec {
     hash = "sha256-1IztedN5/I/4TDKHLJ26fSrDsvJ5QAr+cbzS2PQITDE=";
   };
 
+  patches = [
+    # To fix the build with wlroots 0.14.0:
+    (fetchpatch {
+      # Add fixes for wlroots 0.14.0
+      url = "https://github.com/project-repo/cagebreak/commit/d57869d43add58331386fc8e89c14bb2b74afe17.patch";
+      sha256 = "0g6sl8y4kk0bm5x6pxqbxw2j0gyg3ybr2v9m70q2pxp70kms4lqg";
+    })
+  ];
+
   nativeBuildInputs = [
     makeWrapper
     meson