diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:26:41 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:39 +0300 |
commit | 448100fe83ac36a4355f5fa9136c2c77aac1270e (patch) | |
tree | 05cc4d1bded2f42f298873d8521f390cc636a97c /pkgs/applications/editors/focuswriter | |
parent | 395a4b819be6f59ec8fdb841071b0508e7b7c0be (diff) |
focuswriter: move to qmake4Hook
Diffstat (limited to 'pkgs/applications/editors/focuswriter')
-rw-r--r-- | pkgs/applications/editors/focuswriter/default.nix | 8 |
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"; |