diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:52:46 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:55 +0300 |
commit | 6adce0a785b2876f48a9d73c02251b101f69c30b (patch) | |
tree | e6ef04608168b2a5cb6e4fffd5556cdcdc383fa2 /pkgs/tools/inputmethods/touchegg | |
parent | 5a4cccd7e7f26361fc3829b8867474915d393b90 (diff) | |
download | nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar.gz nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar.bz2 nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar.lz nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar.xz nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.tar.zst nixpkgs-6adce0a785b2876f48a9d73c02251b101f69c30b.zip |
touchegg: move to qmake4Hook
Diffstat (limited to 'pkgs/tools/inputmethods/touchegg')
-rw-r--r-- | pkgs/tools/inputmethods/touchegg/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/inputmethods/touchegg/default.nix b/pkgs/tools/inputmethods/touchegg/default.nix index 4ac3c02d410..6ab53f9d763 100644 --- a/pkgs/tools/inputmethods/touchegg/default.nix +++ b/pkgs/tools/inputmethods/touchegg/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis }: +{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis, qmake4Hook }: stdenv.mkDerivation rec { name = "touchegg-${version}"; @@ -10,10 +10,11 @@ stdenv.mkDerivation rec { buildInputs = [ xorgserver mesa xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ]; - configurePhase = '' + nativeBuildInputs = [ qmake4Hook ]; + + preConfigure = '' sed -e "s@/usr/@$out/@g" -i $(find . -name touchegg.pro) sed -e "s@/usr/@$out/@g" -i $(find ./src/touchegg/config/ -name Config.cpp) - qmake touchegg.pro ''; meta = { @@ -22,4 +23,4 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2; platforms = stdenv.lib.platforms.linux; }; -} \ No newline at end of file +} |