From 42be0b1bfedbc7f0201fee944174c8844adc31f8 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:57:16 +0200 Subject: [PATCH] chafa: fixup build with libwebp-1.3.1 /cc PR #240893 which caused this. --- pkgs/tools/misc/chafa/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/chafa/default.nix b/pkgs/tools/misc/chafa/default.nix index 7efdd91e3199..a03a55387d6b 100644 --- a/pkgs/tools/misc/chafa/default.nix +++ b/pkgs/tools/misc/chafa/default.nix @@ -39,6 +39,9 @@ stdenv.mkDerivation rec { "--with-xml-catalog=${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml" ]; + # https://github.com/NixOS/nixpkgs/pull/240893#issuecomment-1635347507 + NIX_LDFLAGS = [ "-lwebp" ]; + meta = with lib; { description = "Terminal graphics for the 21st century"; homepage = "https://hpjansson.org/chafa/";