diff --git a/pkgs/development/tools/misc/seer/default.nix b/pkgs/development/tools/misc/seer/default.nix index a05fac0fb5c3..92bc871185ff 100644 --- a/pkgs/development/tools/misc/seer/default.nix +++ b/pkgs/development/tools/misc/seer/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, cmake, qtcharts, qtbase, wrapQtAppsHook }: +{ lib, stdenv, fetchFromGitHub, cmake, gdb, qtcharts, qtbase, wrapQtAppsHook }: stdenv.mkDerivation rec { pname = "seer"; @@ -15,6 +15,11 @@ stdenv.mkDerivation rec { cd src ''; + patchPhase = '' + substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \ + --replace "/usr/bin/gdb" "${gdb}/bin/gdb" + ''; + buildInputs = [ qtbase qtcharts ]; nativeBuildInputs = [ cmake wrapQtAppsHook ];