qt5: build env and full per version

This commit is contained in:
Thomas Tuegel 2015-12-19 18:44:40 -06:00
parent 7450865827
commit f250a6e64e
4 changed files with 20 additions and 10 deletions

View File

@ -101,6 +101,14 @@ let
qtx11extras = callPackage ./qtx11extras.nix {};
qtxmlpatterns = callPackage ./qtxmlpatterns.nix {};
env = callPackage ../qt-env.nix {};
full = env "qt-${qtbase.version}" [
qtconnectivity qtdeclarative qtdoc qtenginio qtgraphicaleffects qtimageformats
qtlocation qtmultimedia qtquick1 qtquickcontrols qtscript qtsensors qtserialport
qtsvg qttools qttranslations qtwebkit qtwebkit-examples qtwebsockets qtx11extras
qtxmlpatterns
];
makeQtWrapper = makeSetupHook { deps = [ makeWrapper ]; } ./make-qt-wrapper.sh;
};

View File

@ -101,6 +101,14 @@ let
qtx11extras = callPackage ./qtx11extras.nix {};
qtxmlpatterns = callPackage ./qtxmlpatterns.nix {};
env = callPackage ../qt-env.nix {};
full = env "qt-${qtbase.version}" [
qtconnectivity qtdeclarative qtdoc qtenginio qtgraphicaleffects qtimageformats
qtlocation qtmultimedia qtquick1 qtquickcontrols qtscript qtsensors qtserialport
qtsvg qttools qttranslations qtwebkit qtwebkit-examples qtwebsockets qtx11extras
qtxmlpatterns
];
makeQtWrapper = makeSetupHook { deps = [ makeWrapper ]; } ./make-qt-wrapper.sh;
};

View File

@ -1,8 +1,6 @@
{ runCommand, lndir }:
{ runCommand, lndir, qtbase }: name: paths:
{ paths, qtbase }:
runCommand "qt-env" { inherit paths qtbase; } ''
runCommand name { inherit paths qtbase; } ''
mkdir -p "$out/bin" "$out/mkspecs" "$out/include" "$out/lib" "$out/share"

View File

@ -8205,12 +8205,8 @@ let
qt55Libs = lib.makeScope qt55.newScope qt5LibsFun;
qt5Libs = qt55Libs;
qtEnv = callPackage ../development/libraries/qt-5/qt-env.nix {};
qt5Full = appendToName "full" (qtEnv {
qtbase = qt5.base;
paths = lib.filter lib.isDerivation (lib.attrValues qt5);
});
qtEnv = qt5.env;
qt5Full = qt5.full;
qtcreator = callPackage ../development/qtcreator {
qtLib = qt54;