1
0
Fork 1
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:
Tobias Bora 2023-08-29 19:56:23 +02:00 committed by GitHub
parent d213b12223
commit e580181a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -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; {

View file

@ -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 { };