From 88e87869c0c2b37b1df1441c5fc8d1c76d6486a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 15 Jul 2023 07:53:42 +0200 Subject: [PATCH] swayimg: patch build with libwebp-1.3.1 /cc PR #240893 which caused this. --- pkgs/tools/wayland/swayimg/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/wayland/swayimg/default.nix b/pkgs/tools/wayland/swayimg/default.nix index 9ae3c7e96a5..8f483e79a4d 100644 --- a/pkgs/tools/wayland/swayimg/default.nix +++ b/pkgs/tools/wayland/swayimg/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , meson , ninja , pkg-config @@ -32,6 +33,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-UwIufR3EwbpNVHD1GypV3qNgiqDRllwtxAM0CZPodn0="; }; + patches = [ + (fetchpatch { + name = "link-libwebp-1.3.1.patch"; + url = "https://github.com/artemsen/swayimg/commit/bd3d6c838c699b876fd8c19b408c475eb47e17b6.patch"; + hash = "sha256-2aMq/GTqyKw+CQr8o8ij4P4yNjBXYKXShQUknStUb5c="; + }) + ]; + strictDeps = true; depsBuildBuild = [