mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
kdbg: Add QT pluging path wrapper.
Fixes error 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. See #24256.
This commit is contained in:
parent
df40eb84a9
commit
852bd1b2f2
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
||||
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
|
||||
qtbase, makeWrapper,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -10,11 +11,16 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1gax6xll8svmngw0z1rzhd77xysv01zp0i68x4n5pq0xgh7gi7a4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules makeWrapper ];
|
||||
buildInputs = [ qt5.qtbase ki18n kconfig kiconthemes kxmlgui kwindowsystem ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.kdbg.org/;
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue