Fix radare2-cutter: Wrap Cutter with Qt wrapper

Cutter would not find Qt plugins. This is fixed by wrapping it.
This commit is contained in:
Daniel Albert 2019-09-05 13:20:09 +02:00
parent 81d0173023
commit 5864b89767

View File

@ -5,7 +5,8 @@
, qtbase, qtsvg, qtwebengine
# buildInputs
, r2-for-cutter
, python3 }:
, python3
, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "radare2-cutter";
@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg qtwebengine r2-for-cutter python3 ];
buildInputs = [ qtbase qtsvg qtwebengine r2-for-cutter python3 wrapQtAppsHook ];
qmakeFlags = [
"CONFIG+=link_pkgconfig"