about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2022-06-18 12:03:55 +0200
committerOPNA2608 <christoph.neidahl@gmail.com>2022-06-18 12:03:55 +0200
commit1ff67969b50081ac47bb2ed75f453234f6167176 (patch)
tree592ad2648e2b878d9305c5f2e9c00d9c4eac1ca2
parentcb058dc7ea65b3f853672386433ca628a1fced1f (diff)
dmd: Fix grep in test after gdb bump
-rw-r--r--pkgs/development/compilers/dmd/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix
index a2c555aa5306f..4565128f52b0a 100644
--- a/pkgs/development/compilers/dmd/default.nix
+++ b/pkgs/development/compilers/dmd/default.nix
@@ -109,6 +109,10 @@ stdenv.mkDerivation rec {
     rm dmd/test/runnable/gdb15729.sh
     rm dmd/test/runnable/gdb4149.d
     rm dmd/test/runnable/gdb4181.d
+
+    # Grep'd string changed with gdb 12
+    substituteInPlace druntime/test/exceptions/Makefile \
+      --replace 'in D main (' 'in _Dmain ('
   ''
 
   + lib.optionalString stdenv.isLinux ''