chiaki: use mkDerivation for QT5 application
Commitfe1151218c
("chiaki: cleanup package") replaced mkDerivation with stdenv mkDerivation, which is wrong for QT5 applications and results in the following error on start: qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. also see [1] in the manual. Fix the package by using mkDerivation again. [1]: https://nixos.org/manual/nixpkgs/unstable/#sec-language-qt Fixes:fe1151218c
("chiaki: cleanup package")
This commit is contained in:
parent
5a18a52a57
commit
ca0e2aced0
|
@ -6,6 +6,7 @@
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, libopus
|
, libopus
|
||||||
|
, mkDerivation
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtmultimedia
|
, qtmultimedia
|
||||||
, qtsvg
|
, qtsvg
|
||||||
|
@ -15,7 +16,7 @@
|
||||||
, qtmacextras
|
, qtmacextras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "chiaki";
|
pname = "chiaki";
|
||||||
version = "2.0.1";
|
version = "2.0.1";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue