diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:51:15 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:54 +0300 |
commit | 02014ea0aaf59e92dcd69d61445f488b1aa9b683 (patch) | |
tree | 6fba7c5f0893a9ae1a4b18aaff8dd9313c4d01cd /pkgs/games/mudlet | |
parent | f8d96d19836d010cecdb902917b5037118e0691f (diff) |
mudlet: move to qmakeHook
Diffstat (limited to 'pkgs/games/mudlet')
-rw-r--r-- | pkgs/games/mudlet/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/mudlet/default.nix b/pkgs/games/mudlet/default.nix index 8b51d6174039a..d684cc22c38f6 100644 --- a/pkgs/games/mudlet/default.nix +++ b/pkgs/games/mudlet/default.nix @@ -1,5 +1,5 @@ -{ fetchurl, pkgs, stdenv, makeWrapper, qtbase, yajl, libzip, hunspell -, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3 }: +{ fetchurl, unzip, stdenv, makeWrapper, qtbase, yajl, libzip, hunspell +, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3, qmakeHook }: stdenv.mkDerivation rec { name = "mudlet-${version}"; @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { }; buildInputs = [ - pkgs.unzip qtbase lua5_1 hunspell libzip yajl boost makeWrapper - luafilesystem luazip lrexlib luasqlite3 + unzip qtbase lua5_1 hunspell libzip yajl boost makeWrapper + luafilesystem luazip lrexlib luasqlite3 qmakeHook ]; - configurePhase = "cd src && qmake"; + preConfigure = "cd src"; installPhase = let luaZipPath = "${luazip}/lib/lua/5.1/?.so"; |