fluffychat: use software rendering to fix for moby
This commit is contained in:
2
modules/universal/env/home-packages.nix
vendored
2
modules/universal/env/home-packages.nix
vendored
@@ -53,7 +53,7 @@ let
|
||||
|
||||
emote # TODO: package [smile](https://github.com/mijorus/smile) for probably a better mobile experience.
|
||||
evince # works on phosh
|
||||
fluffychat
|
||||
fluffychat-moby # TODO: ship normal fluffychat on non-moby?
|
||||
foliate
|
||||
font-manager
|
||||
gimp # broken on phosh
|
||||
|
15
pkgs/fluffychat-moby/default.nix
Normal file
15
pkgs/fluffychat-moby/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs }:
|
||||
|
||||
(pkgs.symlinkJoin {
|
||||
name = "fluffychat-moby";
|
||||
paths = [ pkgs.fluffychat ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
# ordinary fluffychat on moby displays blank window;
|
||||
# > Failed to start Flutter renderer: Unable to create a GL context
|
||||
# this is temporarily solved by using software renderer
|
||||
# - see https://github.com/flutter/flutter/issues/106941
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/fluffychat \
|
||||
--set LIBGL_ALWAYS_SOFTWARE 1
|
||||
'';
|
||||
})
|
@@ -21,6 +21,7 @@
|
||||
};
|
||||
|
||||
#### customized packages
|
||||
fluffychat-moby = prev.callPackage ./fluffychat-moby { pkgs = prev; };
|
||||
# nixos-unstable pleroma is too far out-of-date for our db
|
||||
pleroma = prev.callPackage ./pleroma { };
|
||||
# jackett doesn't allow customization of the bind address: this will probably always be here.
|
||||
|
Reference in New Issue
Block a user