summary refs log tree commit diff
path: root/pkgs/applications/editors/tiled/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-17 02:27:26 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:40 +0300
commitde7d8e64cf1895fa3153608295400e3b70a64b5e (patch)
tree02b944aac6aafab6eea9f87f3620606a993985bf /pkgs/applications/editors/tiled/default.nix
parent6d96f2f3b4722b894d1338fc75410f02f2be4352 (diff)
downloadnixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar.gz
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar.bz2
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar.lz
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar.xz
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.tar.zst
nixlib-de7d8e64cf1895fa3153608295400e3b70a64b5e.zip
tiled: move to qmakeHook
Diffstat (limited to 'pkgs/applications/editors/tiled/default.nix')
-rw-r--r--pkgs/applications/editors/tiled/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
index 059b85cee5f7..e4b2f0461c24 100644
--- a/pkgs/applications/editors/tiled/default.nix
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, qtbase, qttools, pkgconfig, python }:
+{ stdenv, fetchurl, qtbase, qttools, qmakeHook, pkgconfig, python }:
 
 let
   version = "0.12.3";
@@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
     inherit sha256;
   };
 
-  buildInputs = [ qtbase qttools pkgconfig python ];
-
-  preConfigure = "qmake -r PREFIX=$out";
+  buildInputs = [ qtbase qttools qmakeHook pkgconfig python ];
 
   meta = {
     description = "A free, easy to use and flexible tile map editor";