diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2021-01-06 08:22:51 +0100 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2021-01-06 08:26:15 +0100 |
commit | ca0e2aced040782fb7c320a4fcabfa2d7556b963 (patch) | |
tree | 087804b94cb9e1f251456d621a7fe9f440795ee9 /pkgs/games | |
parent | 5a18a52a577bf4dcf8f7b4f77e0bd9c46b4338da (diff) |
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")
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/chiaki/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix index a65dce6bda4a..23ea59d8e758 100644 --- a/pkgs/games/chiaki/default.nix +++ b/pkgs/games/chiaki/default.nix @@ -6,6 +6,7 @@ , python3Packages , ffmpeg , libopus +, mkDerivation , qtbase , qtmultimedia , qtsvg @@ -15,7 +16,7 @@ , qtmacextras }: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "chiaki"; version = "2.0.1"; |