mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
parent
49558b04d2
commit
005dab1a7a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, qtbase, qtquick1 }:
|
{ stdenv, fetchgit, qtbase, qtquick1, qmakeHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
@ -11,19 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtquick1 ];
|
buildInputs = [ qtbase qtquick1 ];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace qmltermwidget.pro \
|
substituteInPlace qmltermwidget.pro \
|
||||||
--replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
|
--replace '$$[QT_INSTALL_QML]' "/lib/qt5/qml/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
runHook preConfigure
|
|
||||||
qmake PREFIX=$out
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase=''make INSTALL_ROOT="$out" install'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user