qtinstaller: build submodule-style
This commit is contained in:
parent
1234825656
commit
beff1984f4
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qtinstaller";
|
name = "qtinstaller";
|
||||||
buildInputs = [ qtdeclarative qttools qtbase qmakeHook ];
|
|
||||||
|
propagatedBuildInputs = [qtdeclarative qttools];
|
||||||
|
nativeBuildInputs = [ qmakeHook ];
|
||||||
|
|
||||||
version = "2.0.3";
|
version = "2.0.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.qt.io/official_releases/qt-installer-framework/${version}/qt-installer-framework-opensource-${version}-src.tar.gz";
|
url = "http://download.qt.io/official_releases/qt-installer-framework/${version}/qt-installer-framework-opensource-${version}-src.tar.gz";
|
||||||
@ -12,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
|
||||||
|
setOutputFlags = false;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
NIX_QT_SUBMODULE = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,lib,share/qt-installer-framework}
|
mkdir -p $out/{bin,lib,share/qt-installer-framework}
|
||||||
cp -a bin/{archivegen,binarycreator,devtool,installerbase,repogen} $out/bin
|
cp -a bin/{archivegen,binarycreator,devtool,installerbase,repogen} $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user