Merge pull request #246570 from Lurkki14/seer/patch-hardcoded-gdb
seer: patch hardcoded gdb paths
This commit is contained in:
commit
09b6b8c77f
1 changed files with 6 additions and 1 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue