mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
ee57cb3a24
commit
b30a690af7
1 changed files with 2 additions and 9 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue