flare: update patches

This commit is contained in:
2026-05-07 17:32:58 -04:00
parent 7cf27f0cda
commit cfd62ea4ac
9 changed files with 777 additions and 8 deletions

View File

@@ -89,8 +89,8 @@
# 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, and the not-yet-merged init_channels
# cache-miss fix).
# the deleted-message placeholder, the image-viewer overlay, and the
# not-yet-merged init_channels cache-miss fix).
(pkgs.flare-signal.overrideAttrs (old: {
src = inputs.flare-upstream;
cargoDeps = pkgs.rustPlatform.importCargoLock {
@@ -104,7 +104,17 @@
../../patches/flare/0004-feat-messages-In-channel-message-search.patch
../../patches/flare/0005-feat-messages-Show-This-message-was-deleted.-placeho.patch
../../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