Merge pull request #245880 from OPNA2608/fix/foot-mir

authored by

Artturi and committed by
GitHub
07c3d83a aaebfd45

+12
+12
pkgs/applications/terminal-emulators/foot/default.nix
··· 2 2 , lib 3 3 , fetchFromGitea 4 4 , fetchurl 5 + , fetchpatch 5 6 , runCommand 6 7 , fcft 7 8 , freetype ··· 100 101 rev = version; 101 102 hash = "sha256-YCwmPSn+XtF7HkMOFJft7j/2vr+8UE59yu/iGZ1dT8A="; 102 103 }; 104 + 105 + patches = [ 106 + # Check viewporter protocol support before using it, fixes crash under Mir 107 + # Remove when https://codeberg.org/dnkl/foot/pulls/1445 in version > 1.15.1 108 + (fetchpatch { 109 + name = "0001-foot-dont-try-to-use-a-non-existing-viewporter-interface.patch"; 110 + url = "https://codeberg.org/dnkl/foot/commit/9d75c551465fa3dbb3cd20ae87d6de294fcebce1.patch"; 111 + excludes = [ "CHANGELOG.md" ]; 112 + hash = "sha256-sVfGbudsmwh7phbbobBgSXoGe1lKJ8s1UdyBnVLmLYQ="; 113 + }) 114 + ]; 103 115 104 116 depsBuildBuild = [ 105 117 pkg-config