mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
deepin.dde-launcher: 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
f4e0ae2bb2
commit
62095621d7
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, dde-qt-dbus-factory,
|
||||
dde-session-ui, deepin, deepin-desktop-schemas, deepin-wallpapers,
|
||||
dtkcore, dtkwidget, gsettings-qt, qtsvg, qttools, qtx11extras,
|
||||
which, xdg_utils, wrapGAppsHook }:
|
||||
which, xdg_utils, wrapGAppsHook, glib }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "dde-launcher";
|
||||
|
@ -29,6 +29,7 @@ mkDerivation rec {
|
|||
deepin-wallpapers
|
||||
dtkcore
|
||||
dtkwidget
|
||||
glib
|
||||
gsettings-qt
|
||||
qtsvg
|
||||
qtx11extras
|
||||
|
@ -58,6 +59,14 @@ mkDerivation rec {
|
|||
# note: `dbus-send` path does not need to be hard coded because it is not used for dtkcore >= 2.0.8.0
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
"''${qtWrapperArgs[@]}"
|
||||
)
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# debugging
|
||||
searchHardCodedPaths $out
|
||||
|
|
Loading…
Reference in a new issue