tuba: fix FileDialog

This commit is contained in:
2023-09-24 23:36:05 +00:00
parent 1ed1d8403d
commit 2600d6223c

View File

@@ -1,17 +1,20 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
sane.programs.tuba = { sane.programs.tuba = {
package = pkgs.symlinkJoin { 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 # ship a `tuba` alias to the actual tuba binary, since i can never remember its name
name = "tuba"; ln -s $out/bin/dev.geopjr.Tuba $out/bin/tuba
paths = [ '';
pkgs.tuba
(pkgs.runCommandLocal "tuba" {} '' preFixup = (upstream.preFixup or "") + ''
mkdir -p $out/bin # 2023/09/24: fix so i can upload media when creating a post.
ln -s ${pkgs.tuba}/bin/dev.geopjr.Tuba $out/bin/tuba # see: <https://github.com/GeopJr/Tuba/issues/414#issuecomment-1732695845>
'') gappsWrapperArgs+=(
]; --prefix GDK_DEBUG , no-portals
}; )
'';
});
suggestedPrograms = [ "gnome-keyring" ]; suggestedPrograms = [ "gnome-keyring" ];
}; };
} }