focuswriter: move to qmake4Hook

+4 -4
+4 -4
pkgs/applications/editors/focuswriter/default.nix
··· 1 - {stdenv, fetchurl, qt4, pkgconfig, hunspell}: 1 + { stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "focuswriter-${version}"; ··· 9 9 sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w"; 10 10 }; 11 11 12 - buildInputs = [ qt4 pkgconfig hunspell ]; 12 + buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ]; 13 13 14 - configurePhase = "qmake PREFIX=/"; 14 + qmakeFlags = [ "PREFIX=/" ]; 15 15 16 - installPhase = "make install INSTALL_ROOT=$out"; 16 + installFlags = [ "INSTALL_ROOT=$(out)" ]; 17 17 18 18 meta = { 19 19 description = "Simple, distraction-free writing environment";