about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/edb
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-01-28 22:14:36 +0000
committerSergei Trofimovich <slyich@gmail.com>2024-01-28 22:20:07 +0000
commit93234518828dfd10103cf4dc8e56724cbd468da4 (patch)
tree00457106634d36bdbb24e78626304b5b6318f04f /pkgs/development/tools/misc/edb
parent15fcb26b3c43d93f3192a0e7d0720615c3104967 (diff)
edb: 1.3.0 -> 1.4.0
Among other things fixes build failure against `gcc-13`:
https://hydra.nixos.org/build/247561087
Diffstat (limited to 'pkgs/development/tools/misc/edb')
-rw-r--r--pkgs/development/tools/misc/edb/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/edb/default.nix b/pkgs/development/tools/misc/edb/default.nix
index 2203863264f34..fdde4064698ce 100644
--- a/pkgs/development/tools/misc/edb/default.nix
+++ b/pkgs/development/tools/misc/edb/default.nix
@@ -3,14 +3,14 @@
 
 mkDerivation rec {
   pname = "edb";
-  version = "1.3.0";
+  version = "1.4.0";
 
   src = fetchFromGitHub {
     owner = "eteran";
     repo = "edb-debugger";
-    rev = "1.3.0";
+    rev = version;
     fetchSubmodules = true;
-    sha256 = "fFUau8XnsRFjC83HEsqyhrwCCBOfDmV6oACf3txm7O8=";
+    hash = "sha256-1Q0eZS05L4sxzcPvEFdEaobO7JYHRu98Yf+n3ZnBi+E=";
   };
 
   nativeBuildInputs = [ cmake pkg-config ];
@@ -26,12 +26,10 @@ mkDerivation rec {
     # The build script checks for the presence of .git to determine whether
     # submodules were fetched and will throw an error if it's not there.
     # Avoid using leaveDotGit in the fetchFromGitHub options as it is non-deterministic.
-    mkdir -p src/qhexview/.git
+    mkdir -p src/qhexview/.git lib/gdtoa-desktop/.git
 
     # Change default optional terminal program path to one that is more likely to work on NixOS.
     substituteInPlace ./src/Configuration.cpp --replace "/usr/bin/xterm" "xterm";
-
-    sed '1i#include <memory>' -i include/{RegisterViewModelBase,State,IState}.h # gcc12
   '';
 
   meta = with lib; {