gaphor: fix double wrapping
This commit is contained in:
parent
547a750222
commit
722137507f
|
@ -59,7 +59,7 @@ buildPythonApplication rec {
|
||||||
desktopName = "Gaphor";
|
desktopName = "Gaphor";
|
||||||
};
|
};
|
||||||
|
|
||||||
# We need to wrap it manually to resolve all icons
|
# Disable automatic wrapGAppsHook to prevent double wrapping
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -67,10 +67,11 @@ buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/gaphor \
|
makeWrapperArgs+=(
|
||||||
''${gappsWrapperArgs[@]} \
|
"''${gappsWrapperArgs[@]}" \
|
||||||
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
|
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
|
--set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue