summary refs log tree commit diff
path: root/pkgs/games/chiaki
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2021-01-06 08:22:51 +0100
committerRouven Czerwinski <rouven@czerwinskis.de>2021-01-06 08:26:15 +0100
commitca0e2aced040782fb7c320a4fcabfa2d7556b963 (patch)
tree087804b94cb9e1f251456d621a7fe9f440795ee9 /pkgs/games/chiaki
parent5a18a52a577bf4dcf8f7b4f77e0bd9c46b4338da (diff)
downloadnixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar.gz
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar.bz2
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar.lz
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar.xz
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.tar.zst
nixpkgs-ca0e2aced040782fb7c320a4fcabfa2d7556b963.zip
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/chiaki')
-rw-r--r--pkgs/games/chiaki/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix
index a65dce6bda4..23ea59d8e75 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";