mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
raysession: Fix issues with qt not being patched (can’t find platform, qt version mismatch error etc) (#236762)
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
parent
d213b12223
commit
e580181a13
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, qttools, which, bash }:
|
||||
{ lib, fetchurl, buildPythonApplication, libjack2, pydbus, pyliblo, pyqt5, which, bash, qt5 }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "raysession";
|
||||
|
@ -20,8 +20,9 @@ buildPythonApplication rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
pyqt5 # pyuic5 and pyrcc5 to build resources.
|
||||
qttools # lrelease to build translations.
|
||||
qt5.qttools # lrelease to build translations.
|
||||
which # which to find lrelease.
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [ libjack2 bash ];
|
||||
propagatedBuildInputs = [ pydbus pyliblo pyqt5 ];
|
||||
|
@ -36,6 +37,9 @@ buildPythonApplication rec {
|
|||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn "$out/share/raysession/src" "$out $pythonPath"
|
||||
for file in $out/bin/*; do
|
||||
wrapQtApp "$file"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -12306,9 +12306,7 @@ with pkgs;
|
|||
|
||||
pystring = callPackage ../development/libraries/pystring { };
|
||||
|
||||
raysession = python3Packages.callPackage ../applications/audio/raysession {
|
||||
inherit (qt5) qttools;
|
||||
};
|
||||
raysession = python3Packages.callPackage ../applications/audio/raysession {};
|
||||
|
||||
revolt-desktop = callPackage ../applications/networking/instant-messengers/revolt-desktop { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue