radare2-cutter: don't wrap, shouldn't be needed (and might be wrong)

This was working around mixed qt versions apparently,
which I've fixed and it is no longer needed.

Sorry about that.
This commit is contained in:
Will Dietz 2018-07-12 10:22:03 -05:00
parent ee57cb3a24
commit b30a690af7

View file

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub
# nativeBuildInputs
, qmake, pkgconfig, makeWrapper
, qmake, pkgconfig
# Qt
, qtbase, qtsvg, qtwebengine
# buildInputs
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
--replace "include(lib_radare2.pri)" ""
'';
nativeBuildInputs = [ qmake pkgconfig makeWrapper ];
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ qtbase qtsvg qtwebengine radare2 python3 ];
qmakeFlags = [
@ -42,13 +42,6 @@ stdenv.mkDerivation rec {
"CUTTER_ENABLE_JUPYTER=false"
];
# Fix crash on startup in some situations
postInstall = ''
wrapProgram $out/bin/Cutter \
--prefix QT_PLUGIN_PATH : ${qtbase.bin}/${qtbase.qtPluginPrefix} \
--prefix LD_LIBRARY_PATH : ${qtbase.out}/lib
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {