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:
parent
fd29f6685f
commit
c384ad46b8
|
@ -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 = ''
|
||||||
|
|
|
@ -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/"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue