3
0
Fork 0
forked from mirrors/nixpkgs

lens: fix filechooser

This commit is contained in:
Jörg Thalheim 2022-01-25 15:47:02 +01:00
parent 36693d8c28
commit c4baf7b23b

View file

@ -1,4 +1,4 @@
{ lib, fetchurl, appimageTools }:
{ lib, fetchurl, appimageTools, wrapGAppsHook, gsettings-desktop-schemas, gtk3 }:
let
pname = "lens";
@ -19,6 +19,10 @@ let
in appimageTools.wrapType2 {
inherit name src;
profile = ''
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
extraInstallCommands =
''
mv $out/bin/${name} $out/bin/${pname}