mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
qtinstaller: build submodule-style
This commit is contained in:
parent
1234825656
commit
beff1984f4
|
@ -2,7 +2,10 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtinstaller";
|
||||
buildInputs = [ qtdeclarative qttools qtbase qmakeHook ];
|
||||
|
||||
propagatedBuildInputs = [qtdeclarative qttools];
|
||||
nativeBuildInputs = [ qmakeHook ];
|
||||
|
||||
version = "2.0.3";
|
||||
src = fetchurl {
|
||||
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" ];
|
||||
|
||||
setOutputFlags = false;
|
||||
enableParallelBuilding = true;
|
||||
NIX_QT_SUBMODULE = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,lib,share/qt-installer-framework}
|
||||
cp -a bin/{archivegen,binarycreator,devtool,installerbase,repogen} $out/bin
|
||||
|
|
Loading…
Reference in a new issue