summary refs log tree commit diff
path: root/pkgs/applications/editors/texstudio
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-17 02:27:11 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:40 +0300
commit6d96f2f3b4722b894d1338fc75410f02f2be4352 (patch)
tree046c928d10fbd0b8e490a502e41f49ee01893bc2 /pkgs/applications/editors/texstudio
parentb1dcfeeeebde011361d6a211fe4a3ab7eaee4a5a (diff)
downloadnixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar.gz
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar.bz2
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar.lz
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar.xz
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.tar.zst
nixpkgs-6d96f2f3b4722b894d1338fc75410f02f2be4352.zip
texstudio: move to qmake4Hook
Diffstat (limited to 'pkgs/applications/editors/texstudio')
-rw-r--r--pkgs/applications/editors/texstudio/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix
index 4b0cccae364..4accf1cad67 100644
--- a/pkgs/applications/editors/texstudio/default.nix
+++ b/pkgs/applications/editors/texstudio/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
+{ stdenv, fetchurl, qt4, qmake4Hook, poppler_qt4, zlib, pkgconfig}:
 
 stdenv.mkDerivation rec {
   pname = "texstudio";
@@ -11,11 +11,9 @@ stdenv.mkDerivation rec {
     sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
   };
 
-  buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
+  buildInputs = [ qt4 qmake4Hook poppler_qt4 zlib pkgconfig ];
 
-  preConfigure = ''
-    qmake PREFIX=$out NO_APPDATA=True texstudio.pro
-  '';
+  qmakeFlags = [ "NO_APPDATA=True" ];
 
   meta = with stdenv.lib; {
     description = "TeX and LaTeX editor";