3
0
Fork 0
forked from mirrors/nixpkgs

cool-retro-term: add missing dependencies and fix qmltermwidget

This commit is contained in:
Sven Keidel 2016-01-01 12:00:11 +01:00
parent b9bfedd64d
commit 30ff95ea59
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget }: { stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
qtquickcontrols, qtgraphicaleffects }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.0"; version = "1.0.0";
@ -15,7 +16,7 @@ stdenv.mkDerivation rec {
sed -i -e '/qmltermwidget/d' cool-retro-term.pro sed -i -e '/qmltermwidget/d' cool-retro-term.pro
''; '';
buildInputs = [ qtbase qtquick1 qmltermwidget ]; buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
nativeBuildInputs = [ makeQtWrapper ]; nativeBuildInputs = [ makeQtWrapper ];
configurePhase = "qmake PREFIX=$out"; configurePhase = "qmake PREFIX=$out";

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
patchPhase = '' patchPhase = ''
substituteInPlace qmltermwidget.pro \ substituteInPlace qmltermwidget.pro \
--replace '$$[QT_INSTALL_QML]' "/lib/qml/" --replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
''; '';
configurePhase = "qmake PREFIX=$out"; configurePhase = "qmake PREFIX=$out";