about summary refs log tree commit diff
path: root/pkgs/applications/editors/focuswriter
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-17 02:26:41 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:39 +0300
commit448100fe83ac36a4355f5fa9136c2c77aac1270e (patch)
tree05cc4d1bded2f42f298873d8521f390cc636a97c /pkgs/applications/editors/focuswriter
parent395a4b819be6f59ec8fdb841071b0508e7b7c0be (diff)
focuswriter: move to qmake4Hook
Diffstat (limited to 'pkgs/applications/editors/focuswriter')
-rw-r--r--pkgs/applications/editors/focuswriter/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/editors/focuswriter/default.nix b/pkgs/applications/editors/focuswriter/default.nix
index bc9163e63cb41..eedb674b472cf 100644
--- a/pkgs/applications/editors/focuswriter/default.nix
+++ b/pkgs/applications/editors/focuswriter/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, qt4, pkgconfig, hunspell}:
+{ stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }:
 
 stdenv.mkDerivation rec {
   name = "focuswriter-${version}";
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
     sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
   };
 
-  buildInputs = [ qt4 pkgconfig hunspell ];
+  buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ];
   
-  configurePhase = "qmake PREFIX=/";
+  qmakeFlags = [ "PREFIX=/" ];
 
-  installPhase = "make install INSTALL_ROOT=$out";
+  installFlags = [ "INSTALL_ROOT=$(out)" ];
 
   meta = {
     description = "Simple, distraction-free writing environment";