From 935459835e85e0b3225bb18fcf389c3c8e3488be Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 21 Jan 2022 13:01:59 +0100 Subject: peek: fix compat with GNOME backend --- pkgs/applications/video/peek/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/video/peek') diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix index edeb848867fbc..27064077a9f83 100644 --- a/pkgs/applications/video/peek/default.nix +++ b/pkgs/applications/video/peek/default.nix @@ -1,5 +1,7 @@ -{ lib, stdenv +{ stdenv +, lib , fetchFromGitHub +, fetchpatch , nix-update-script , meson , ninja @@ -35,6 +37,15 @@ stdenv.mkDerivation rec { sha256 = "1xwlfizga6hvjqq127py8vabaphsny928ar7mwqj9cyqfl6fx41x"; }; + patches = [ + # Fix compatibility with GNOME Shell ≥ 40. + # https://github.com/phw/peek/pull/910 + (fetchpatch { + url = "https://github.com/phw/peek/commit/008d15316ab5428363c512b263ca8138cb8f52ba.patch"; + sha256 = "xxJ+r5uRk93MEzWTFla88ewZsnUl3+YKTenzDygtKP0="; + }) + ]; + nativeBuildInputs = [ appstream-glib desktop-file-utils -- cgit 1.4.1