summary refs log tree commit diff
path: root/pkgs/desktops/deepin/dde-control-center/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-07-21 22:53:18 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-21 23:49:36 -0400
commit735199a2104bc52b09f0193bdce7b1d95e4c7288 (patch)
treef1d7ac37a03651571233559689770500bdadcf0c /pkgs/desktops/deepin/dde-control-center/default.nix
parent2b350d16efab2dd2acc40dd6f1b2da7c390c199f (diff)
downloadnixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar.gz
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar.bz2
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar.lz
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar.xz
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.tar.zst
nixpkgs-735199a2104bc52b09f0193bdce7b1d95e4c7288.zip
deepin: use qt5.mkDerivation where needed, cleanup wrappers
This switches a majority of the applications to using qt5.mkDerivation
which automatically adds wrapQtAppsHook.

In certain places, where GLib and gtk intersect with Qt, we
also needed to use wrapGAppsHook. In these cases there will
be multiple wrappers.
Diffstat (limited to 'pkgs/desktops/deepin/dde-control-center/default.nix')
-rw-r--r--pkgs/desktops/deepin/dde-control-center/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/desktops/deepin/dde-control-center/default.nix b/pkgs/desktops/deepin/dde-control-center/default.nix
index 906812cf98b..88c3639ff2e 100644
--- a/pkgs/desktops/deepin/dde-control-center/default.nix
+++ b/pkgs/desktops/deepin/dde-control-center/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchFromGitHub, pkgconfig, cmake, deepin, qttools, qtdeclarative,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, deepin, qttools, qtdeclarative,
  networkmanager, qtsvg, qtx11extras,  dtkcore, dtkwidget, geoip, gsettings-qt,
  dde-network-utils, networkmanager-qt, xorg, mtdev, fontconfig, freetype, dde-api,
  dde-daemon, qt5integration, deepin-desktop-base, deepin-desktop-schemas, dbus,
  systemd, dde-qt-dbus-factory, qtmultimedia, qtbase, glib, gnome3, which,
- substituteAll, wrapGAppsHook, tzdata
+ substituteAll, tzdata, wrapGAppsHook
 }:
 
-stdenv.mkDerivation rec {
+mkDerivation rec {
   name = "${pname}-${version}";
   pname = "dde-control-center";
   version = "4.10.11";