bloomrpc: Add fix when opening a file browser

```
(bloomrpc:2): GLib-GIO-ERROR **: 12:51:02.584: No GSettings schemas are installed on the system
```
This commit is contained in:
Ivan Kovnatsky 2022-02-15 12:58:40 +02:00
parent 6fa1686933
commit 776725509d
No known key found for this signature in database
GPG Key ID: 3A33FA4C82ED674F

View File

@ -1,4 +1,4 @@
{ lib, fetchurl, appimageTools }:
{ lib, fetchurl, gsettings-desktop-schemas, gtk3, appimageTools }:
let
pname = "bloomrpc";
@ -13,9 +13,15 @@ let
appimageContents = appimageTools.extractType2 {
inherit pname src version;
};
in appimageTools.wrapType2 {
in
appimageTools.wrapType2 {
inherit pname src version;
profile = ''
export LC_ALL=C.UTF-8
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
multiPkgs = null; # no 32bit needed
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];