diff --git a/pkgs/tools/misc/yad/default.nix b/pkgs/tools/misc/yad/default.nix index d874d9b4b146..2c8660a49139 100644 --- a/pkgs/tools/misc/yad/default.nix +++ b/pkgs/tools/misc/yad/default.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig intltool ]; + postPatch = '' + sed -i src/file.c -e '21i#include ' + sed -i src/form.c -e '21i#include ' + ''; + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; meta = {