New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qt5, plasma-5: Make 'bin' output the first one #29827
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you also fix the output order for Qt 5.6, or was it not necessary?
pkgs/games/qgo/default.nix
Outdated
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec { | |||
# libQt5XcbQpa is a platform plugin dependency and doesn't get linked | |||
patchelf --add-needed libQt5XcbQpa.so.5 $out/bin/qgo | |||
wrapProgram $out/bin/qgo \ | |||
--set QT_QPA_PLATFORM_PLUGIN_PATH "${qt56.qtbase}/lib/qt-5.6/plugins/platforms/" | |||
--set QT_QPA_PLATFORM_PLUGIN_PATH "${stdenv.lib.getLib qt56.qtbase}/lib/qt-5.6/plugins/platforms/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ${stdenv.lib.getBin qt56.qtbase}/$qtPluginPrefix/platforms/
. The plugins are installed in bin
because they are not exactly libraries and they need to be installed alongside any executables anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed & amended.
4bda409
to
06ead43
Compare
Qt 5.6 already has Out of:
These failed to build:
...which are probably existing failures in master. |
Yes, those are pre-existing failures, given that before my commits nix wants to download everything from the binary cache except:
|
Does this sound fine now? |
Stay consistent with other multiple output packages.
Builds fine without.
06ead43
to
22bb26c
Compare
Stay consistent with other multiple output packages.
This was discussed previously at #28470 (comment) and AFAICT this simply does work. Full
nox-review
is still running overnight butnixos/release.nix -A tests.plasma5.x86_64-linux
passed.According to
all package references should be fixed as well (all using
getLib
and such).