gdb: fix mainProgram for cross
This fixes the versionCheckHook, allowing us to build for non-native target arches.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user