From de7d8e64cf1895fa3153608295400e3b70a64b5e Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 17 Apr 2016 02:27:26 +0300 Subject: [PATCH] tiled: move to qmakeHook --- pkgs/applications/editors/tiled/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix index 059b85cee5f..e4b2f0461c2 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";