qt5, plasma-5: Make 'bin' output the first one

Stay consistent with other multiple output packages.
This commit is contained in:
Tuomas Tynkkynen 2017-09-27 03:00:23 +03:00 committed by Tuomas Tynkkynen
parent 2fd11b762f
commit fd29f6685f
23 changed files with 23 additions and 23 deletions

View File

@ -15,6 +15,6 @@ mkDerivation {
kguiaddons ki18n kwayland kwindowsystem plasma-framework qtdeclarative
qtx11extras
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
cmakeFlags = [ "-DUSE_Qt4=OFF" ];
}

View File

@ -12,6 +12,6 @@ mkDerivation {
kcmutils kdbusaddons kdelibs4support kglobalaccel ki18n kio kxmlgui
plasma-framework plasma-workspace qtx11extras
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
enableParallelBuilding = false;
}

View File

@ -28,7 +28,7 @@ mkDerivation {
kidletime kinit kio knewstuff knotifications kpackage kscreenlocker kservice
kwayland kwidgetsaddons kwindowsystem kxmlgui plasma-framework
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
NIX_CFLAGS_COMPILE = [
''-DNIXPKGS_XWAYLAND="${lib.getBin xwayland}/bin/Xwayland"''

View File

@ -17,5 +17,5 @@ mkDerivation {
kcoreaddons kservice kwidgetsaddons plasma-framework qtscript qtx11extras
qtwebkit
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
}

View File

@ -14,5 +14,5 @@ mkDerivation {
ki18n kservice kwayland kwidgetsaddons kwindowsystem qtdeclarative
qtx11extras
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
}

View File

@ -33,7 +33,7 @@ mkDerivation {
qtgraphicaleffects qtquickcontrols qtquickcontrols2 qtscript qtwayland qtx11extras
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
cmakeFlags = [
"-DNIXPKGS_XMESSAGE=${getBin xmessage}/bin/xmessage"

View File

@ -13,5 +13,5 @@ mkDerivation {
kwindowsystem kxmlgui qtquickcontrols qtquickcontrols2
kactivities kactivities-stats kirigami2
];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
}

View File

@ -78,7 +78,7 @@ let
inherit (args) name;
inherit (srcs."${name}") src version;
outputs = args.outputs or [ "out" "dev" "bin" ];
outputs = args.outputs or [ "bin" "dev" "out" ];
hasBin = lib.elem "bin" outputs;
hasDev = lib.elem "dev" outputs;

View File

@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
passthru.swig = swig2;
outputs = ["out" "dev" "bin" "py"];
outputs = ["bin" "dev" "out" "py"];
postFixup = ''
moveToOutput "lib/${python.libPrefix}" "$py"

View File

@ -76,7 +76,7 @@ stdenv.mkDerivation {
[ bison flex gperf lndir perl pkgconfig python2 which ]
++ lib.optional (!stdenv.isDarwin) patchelf;
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
patches =
copyPathsToStore (lib.readPathsFromFile ./. ./series)

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtcharts";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtQmlPrefix" "$bin"
'';

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtconnectivity";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtQmlPrefix" "$bin"
'';

View File

@ -7,7 +7,7 @@ qtSubmodule {
patches = copyPathsToStore (readPathsFromFile ./. ./series);
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
nativeBuildInputs = [ python2 ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtlocation";
qtInputs = [ qtbase qtmultimedia ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtPluginPrefix" "$bin"
moveToOutput "$qtQmlPrefix" "$bin"

View File

@ -11,7 +11,7 @@ qtSubmodule {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gstreamer gst-plugins-base libpulseaudio]
++ optional (stdenv.isLinux) alsaLib;
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
qmakeFlags = [ "GST_VERSION=1.0" ];
NIX_LDFLAGS = optionalString (stdenv.isDarwin) "-lobjc";
postInstall = ''

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtquickcontrols2";
qtInputs = [ qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtQmlPrefix" "$bin"
'';

View File

@ -5,7 +5,7 @@ with stdenv.lib;
qtSubmodule {
name = "qtsensors";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtPluginPrefix" "$bin"
moveToOutput "$qtQmlPrefix" "$bin"

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtsvg";
qtInputs = [ qtbase ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtPluginPrefix" "$bin"
'';

View File

@ -5,7 +5,7 @@ with stdenv.lib;
qtSubmodule {
name = "qttools";
qtInputs = [ qtbase ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
patches = copyPathsToStore (readPathsFromFile ./. ./series);
# qmake moves all binaries to $dev in preFixup
postFixup = ''

View File

@ -5,7 +5,7 @@ qtSubmodule {
qtInputs = [ qtbase qtquickcontrols ];
buildInputs = [ wayland ];
nativeBuildInputs = [ pkgconfig ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtPluginPrefix" "$bin"
moveToOutput "$qtQmlPrefix" "$bin"

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtwebchannel";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtQmlPrefix" "$bin"
'';

View File

@ -25,7 +25,7 @@ qtSubmodule {
bison coreutils flex git gperf ninja pkgconfig python2 which
];
doCheck = true;
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
enableParallelBuilding = true;

View File

@ -3,7 +3,7 @@
qtSubmodule {
name = "qtwebsockets";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput "$qtQmlPrefix" "$bin"
'';