flare: update image patch

This commit is contained in:
2026-05-12 12:12:22 -04:00
parent 9417716e68
commit 9afcb8f892
3 changed files with 56 additions and 554 deletions

View File

@@ -89,7 +89,7 @@
# alternative GTK signal client; carries local feature patches under
# patches/flare/ on top of upstream master (typing indicators, edited
# messages, multi-select with delete-for-me, in-channel message search,
# the deleted-message placeholder, the image-viewer overlay, and the
# the deleted-message placeholder, the image-viewer dialog, and the
# not-yet-merged init_channels cache-miss fix).
(pkgs.flare-signal.overrideAttrs (old: {
src = inputs.flare-upstream;
@@ -106,15 +106,6 @@
../../patches/flare/0006-fix-backend-Refresh-cached-channels-on-init_channels.patch
../../patches/flare/0007-feat-messages-Open-image-attachments-in-a-fullscreen.patch
];
# The image-viewer demo patch (0007) references
# data/screenshots/dummy_apple.jpg, but git binary diffs are not
# supported by the standard `patch` tool nixpkgs uses for the
# patchPhase. Ship the JPEG alongside the patches and copy it into
# the source tree before the build picks it up.
postPatch = (old.postPatch or "") + ''
install -m 0644 ${./../../patches/flare/dummy_apple.jpg} \
data/screenshots/dummy_apple.jpg
'';
}))
# accounting