1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

qtbase: Make some output references more explicit

This commit is contained in:
Tuomas Tynkkynen 2017-09-27 03:10:16 +03:00 committed by Tuomas Tynkkynen
parent fd29f6685f
commit c384ad46b8
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_ROOT=$(out)" ] ++ optional withDocumentation "install_docs"; installFlags = [ "INSTALL_ROOT=$(out)" ] ++ optional withDocumentation "install_docs";
preBuild = optional withDocumentation '' preBuild = optional withDocumentation ''
ln -s ${qtbase}/$qtDocPrefix $NIX_QT5_TMP/share ln -s ${getLib qtbase}/$qtDocPrefix $NIX_QT5_TMP/share
''; '';
postInstall = '' postInstall = ''

View file

@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
# libQt5XcbQpa is a platform plugin dependency and doesn't get linked # libQt5XcbQpa is a platform plugin dependency and doesn't get linked
patchelf --add-needed libQt5XcbQpa.so.5 $out/bin/qgo patchelf --add-needed libQt5XcbQpa.so.5 $out/bin/qgo
wrapProgram $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.getBin qt56.qtbase}/lib/qt-5.6/plugins/platforms/"
''; '';
} }