Merge pull request #246570 from Lurkki14/seer/patch-hardcoded-gdb
seer: patch hardcoded gdb paths
This commit is contained in:
commit
09b6b8c77f
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, qtcharts, qtbase, wrapQtAppsHook }:
|
{ lib, stdenv, fetchFromGitHub, cmake, gdb, qtcharts, qtbase, wrapQtAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "seer";
|
pname = "seer";
|
||||||
|
@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||||
cd src
|
cd src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \
|
||||||
|
--replace "/usr/bin/gdb" "${gdb}/bin/gdb"
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ qtbase qtcharts ];
|
buildInputs = [ qtbase qtcharts ];
|
||||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue