Unverified Commit fa75c3e5 authored by John Titor's avatar John Titor
Browse files

hyprpaper: fix build with hyprwayland-scanner-0.4.4

parent 7725f90a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  gcc14Stdenv,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  cairo,
  expat,
@@ -41,6 +42,15 @@ gcc14Stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-IRZ5NrKFwBVueYrZYUQfpTwp2rZHgAkPwgvdnfVBF8E=";
  };

  patches = [
    # FIXME: remove in next release
    (fetchpatch2 {
      name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
      url = "https://github.com/hyprwm/hyprpaper/commit/505e447b6c48e6b49f3aecf5da276f3cc5780054.patch?full_index=1";
      hash = "sha256-Vk2P2O4XQiCYqV0KbK/ADe8KPmaTs3Mg7JRJ3cGW9lM=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config