summary refs log tree commit diff
path: root/pkgs/tools/misc/partition-manager
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2019-07-05 10:42:08 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2019-07-05 10:42:08 -0500
commit51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2 (patch)
tree0b9751f2bfd16a70e406b420c34a8d4097ad9492 /pkgs/tools/misc/partition-manager
parentf79fd2e826dd95b3b64839d3e0bec8ae1dfab17e (diff)
downloadnixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar.gz
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar.bz2
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar.lz
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar.xz
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.tar.zst
nixpkgs-51d78034a1db78f8ce0ea3ba6fa20be590ed0ca2.zip
wrapQtAppsHook: Remove ad hoc Qt wrappers
Diffstat (limited to 'pkgs/tools/misc/partition-manager')
-rw-r--r--pkgs/tools/misc/partition-manager/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/tools/misc/partition-manager/default.nix b/pkgs/tools/misc/partition-manager/default.nix
index 4599309b238..1c094c291d8 100644
--- a/pkgs/tools/misc/partition-manager/default.nix
+++ b/pkgs/tools/misc/partition-manager/default.nix
@@ -1,7 +1,7 @@
 { mkDerivation, fetchurl, lib
-, extra-cmake-modules, kdoctools, wrapGAppsHook
+, extra-cmake-modules, kdoctools, wrapGAppsHook, wrapQtAppsHook
 , kconfig, kcrash, kinit, kpmcore
-, eject, libatasmart , utillinux, makeWrapper, qtbase
+, eject, libatasmart , utillinux, qtbase
 }:
 
 let
@@ -17,16 +17,12 @@ in mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook makeWrapper ];
+  nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook wrapQtAppsHook ];
 
   # refer to kpmcore for the use of eject
   buildInputs = [ eject libatasmart utillinux ];
   propagatedBuildInputs = [ kconfig kcrash kinit kpmcore ];
 
-  postInstall = ''
-    wrapProgram "$out/bin/partitionmanager" --prefix QT_PLUGIN_PATH : "${kpmcore}/lib/qt-5.${lib.versions.minor qtbase.version}/plugins"
-  '';
-
   meta = with lib; {
     description = "KDE Partition Manager";
     license = licenses.gpl2;