Unverified Commit 7725f90a authored by John Titor's avatar John Titor
Browse files

hyprpicker: fix build with hyprwayland-scanner-0.4.4

parent 4636dfc6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  nix-update-script,
  pkg-config,
  cmake,
@@ -29,6 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-gu26MSYbTlRLMUpZ9PeYXtqqhzPDQXxEDkjiJgwzIIc=";
  };

  patches = [
    # FIXME: remove in next release
    (fetchpatch2 {
      name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
      url = "https://github.com/hyprwm/hyprpicker/commit/444c40e5e3dc4058a6a762ba5e73ada6d6469055.patch?full_index=1";
      hash = "sha256-tg+oCUHtQkOXDrUY1w1x8zWWO1v4YV8ZxQKuSWuX/AI=";
    })
  ];

  cmakeBuildType = if debug then "Debug" else "Release";

  nativeBuildInputs = [