forked from mirrors/nixpkgs
mudlet: move to qmakeHook
This commit is contained in:
parent
f8d96d1983
commit
02014ea0aa
|
@ -1,5 +1,5 @@
|
||||||
{ fetchurl, pkgs, stdenv, makeWrapper, qtbase, yajl, libzip, hunspell
|
{ fetchurl, unzip, stdenv, makeWrapper, qtbase, yajl, libzip, hunspell
|
||||||
, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3 }:
|
, boost, lua5_1, luafilesystem, luazip, lrexlib, luasqlite3, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mudlet-${version}";
|
name = "mudlet-${version}";
|
||||||
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.unzip qtbase lua5_1 hunspell libzip yajl boost makeWrapper
|
unzip qtbase lua5_1 hunspell libzip yajl boost makeWrapper
|
||||||
luafilesystem luazip lrexlib luasqlite3
|
luafilesystem luazip lrexlib luasqlite3 qmakeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = "cd src && qmake";
|
preConfigure = "cd src";
|
||||||
|
|
||||||
installPhase = let
|
installPhase = let
|
||||||
luaZipPath = "${luazip}/lib/lua/5.1/?.so";
|
luaZipPath = "${luazip}/lib/lua/5.1/?.so";
|
||||||
|
|
Loading…
Reference in a new issue