summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";