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