gdb: fix mainProgram for cross

This fixes the versionCheckHook, allowing
us to build for non-native target arches.
This commit is contained in:
Ryan Burns
2026-05-23 02:00:08 -07:00
parent 784ca1010f
commit 3e2c7006a7
+1 -1
View File
@@ -231,7 +231,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "GNU Project debugger";
mainProgram = "gdb";
mainProgram = "${targetPrefix}gdb";
longDescription = ''
GDB, the GNU Project debugger, allows you to see what is going
on `inside' another program while it executes -- or what another