about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/telegram
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-16 22:59:20 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:45 +0300
commit5faed29fa8f4c437bbf0d8ecbf045cadecf6e172 (patch)
tree49dc083b6ac6c3a38f5841ab84b0ad00cc44b3f4 /pkgs/applications/networking/instant-messengers/telegram
parent46cf871c3d40ec8f7774302e3e2cb7c9c371053c (diff)
downloadnixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar.gz
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar.bz2
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar.lz
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar.xz
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.tar.zst
nixlib-5faed29fa8f4c437bbf0d8ecbf045cadecf6e172.zip
cutegram: move to qmakeHook
This reverts commit 7f4ab1cb72cc4779b91384474b6b23e4744033d1.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram')
-rw-r--r--pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
index 07bfcf3a03e0..bc517cadf522 100644
--- a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
@@ -3,7 +3,7 @@
 , qtimageformats, qtgraphicaleffects
 , telegram-qml, libqtelegram-aseman-edition
 , gst_all_1
-, makeQtWrapper }:
+, makeQtWrapper, qmakeHook }:
 
 stdenv.mkDerivation rec {
   name = "cutegram-${meta.version}";
@@ -20,16 +20,10 @@ stdenv.mkDerivation rec {
     telegram-qml libqtelegram-aseman-edition 
   ] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
 
-  nativeBuildInputs = [ makeQtWrapper ];
+  nativeBuildInputs = [ makeQtWrapper qmakeHook ];
 
   enableParallelBuilding = true;
 
-  configurePhase = ''
-    runHook preConfigure
-    qmake -r PREFIX=$out
-    runHook postConfigure
-  '';
-
   fixupPhase = ''
     wrapQtProgram $out/bin/cutegram \
       --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"