git.iko.soy/typeable/nixpkgs
on master help sign in
chiaki: use mkDerivation for QT5 application

Commit fe1151218cbb ("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: fe1151218cbb ("chiaki: cleanup package")

commitca0e2aced040782fb7c320a4fcabfa2d7556b963 authorRouven Czerwinski <rouven@czerwinskis.de> dateWed 6 Jan 2021, 08:22 (6 years ago) parent5a18a52
1 file changed+2−1
pkgs/games/chiaki/default.nix+2−1
pkgs/games/chiaki/default.nix+2−1
@@ -6,6 +6,7 @@
66, python3Packages
77, ffmpeg
88, libopus
9+, mkDerivation
910, qtbase
1011, qtmultimedia
1112, qtsvg
@@ -15,7 +16,7 @@
1516, qtmacextras
1617}:
1718
18−stdenv.mkDerivation rec {
19+mkDerivation rec {
1920 pname = "chiaki";
2021 version = "2.0.1";
2122