forked from mirrors/nixpkgs
deepin.dde-file-manager: use gapps wrapper
Forgot about wrapQtAppsHook only wrapping binaries that are ELF headers. So it can't wrap it if it already is.
This commit is contained in:
parent
2fe9525dff
commit
f4e0ae2bb2
|
@ -45,8 +45,7 @@ mkDerivation rec {
|
|||
dtkwidget
|
||||
ffmpegthumbnailer
|
||||
file
|
||||
glib.bin
|
||||
glib.dev
|
||||
glib
|
||||
gnugrep
|
||||
gsettings-qt
|
||||
gvfs
|
||||
|
@ -233,6 +232,14 @@ mkDerivation rec {
|
|||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${libX11}/lib";
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
"''${qtWrapperArgs[@]}"
|
||||
)
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# debuging
|
||||
unset LD_LIBRARY_PATH
|
||||
|
|
Loading…
Reference in a new issue