diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:51:03 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:54 +0300 |
commit | f8d96d19836d010cecdb902917b5037118e0691f (patch) | |
tree | 987e7e044bcf7da58f833403adce49fd66de7cb5 | |
parent | f3e8653647f62088e5a6835d96fcc0be0bc631c2 (diff) |
chessx: move to qmakeHook
-rw-r--r-- | pkgs/games/chessx/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/games/chessx/default.nix b/pkgs/games/chessx/default.nix index 39ec3670e54e..63a1adb7155a 100644 --- a/pkgs/games/chessx/default.nix +++ b/pkgs/games/chessx/default.nix @@ -1,4 +1,4 @@ -{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, fetchurl }: +{ stdenv, pkgconfig, zlib, qtbase, qtsvg, qttools, qtmultimedia, qmakeHook, fetchurl }: stdenv.mkDerivation rec { name = "chessx-${version}"; version = "1.3.2"; @@ -6,9 +6,6 @@ stdenv.mkDerivation rec { url = "mirror://sourceforge/chessx/chessx-${version}.tgz"; sha256 = "b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff"; }; - preConfigure = '' - qmake -spec linux-g++ chessx.pro - ''; buildInputs = [ stdenv pkgconfig @@ -17,6 +14,7 @@ stdenv.mkDerivation rec { qttools qtmultimedia zlib + qmakeHook ]; enableParallelBuilding = true; |