tuba: remove workaround (fixed via gnome 45 update)

This commit is contained in:
Colin 2023-11-24 21:41:07 +00:00
parent 6382ac22cb
commit 8f526cd2b5

View File

@ -1,26 +1,6 @@
{ pkgs, ... }:
{ ... }:
{
sane.programs.tuba = {
package = pkgs.tuba.overrideAttrs (upstream: {
postInstall = (upstream.postInstall or "") + ''
# ship a `tuba` alias to the actual tuba binary, since i can never remember its name
ln -s $out/bin/dev.geopjr.Tuba $out/bin/tuba
'';
preFixup = (upstream.preFixup or "") + ''
# 2023/09/24: fix so i can upload media when creating a post.
# see: <https://github.com/GeopJr/Tuba/issues/414#issuecomment-1732695845>
gappsWrapperArgs+=(
--prefix GDK_DEBUG , no-portals
)
'';
# alternative to disabling portals is to remove the filters on FileDialogs.
# done like so (but would want to apply to the other dialogs too)
# postPatch = (upstream.postPatch or "") + ''
# substituteInPlace src/Dialogs/ProfileEdit.vala \
# --replace "default_filter = filter" ""
# '';
});
suggestedPrograms = [ "gnome-keyring" ];
};
}