valkyrie: fix build
This commit is contained in:
parent
bf2a009380
commit
b835b8a95b
@ -8,7 +8,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0hwvsncf62mdkahwj9c8hpmm94c1wr5jn89370k6rj894kxry2x7";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '1s;^;#include <unistd.h>\n;' src/objects/tool_object.cpp
|
||||
sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_config.cpp
|
||||
sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_config.cpp
|
||||
sed -i '1s;^;#include <unistd.h>\n;' src/utils/vk_utils.cpp
|
||||
sed -i '1s;^;#include <sys/types.h>\n;' src/utils/vk_utils.cpp
|
||||
'';
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
meta = {
|
||||
@ -16,6 +25,5 @@ stdenv.mkDerivation rec {
|
||||
description = "Qt4-based GUI for the Valgrind 3.6.x series";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user