From b835b8a95b7d644e645a50daf087cfe15fbe5968 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Tue, 17 Jul 2018 21:46:01 +0200 Subject: [PATCH] valkyrie: fix build --- pkgs/development/tools/analysis/valkyrie/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/valkyrie/default.nix b/pkgs/development/tools/analysis/valkyrie/default.nix index 1da6c6a1e864..a0ff20593699 100644 --- a/pkgs/development/tools/analysis/valkyrie/default.nix +++ b/pkgs/development/tools/analysis/valkyrie/default.nix @@ -8,7 +8,16 @@ stdenv.mkDerivation rec { sha256 = "0hwvsncf62mdkahwj9c8hpmm94c1wr5jn89370k6rj894kxry2x7"; }; + patchPhase = '' + sed -i '1s;^;#include \n;' src/objects/tool_object.cpp + sed -i '1s;^;#include \n;' src/utils/vk_config.cpp + sed -i '1s;^;#include \n;' src/utils/vk_config.cpp + sed -i '1s;^;#include \n;' src/utils/vk_utils.cpp + sed -i '1s;^;#include \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; }; }