From 58c79d502fffe9482120bf49528ea44f92642795 Mon Sep 17 00:00:00 2001 From: ArchercatNEO Date: Fri, 25 Oct 2024 19:25:56 +0100 Subject: [PATCH] godot_4: compile with BuildID separateDebugInfo requires binaries to be compiled with a build id to work but godot4 does not compile with it, add the linker flag to do so. --- pkgs/by-name/go/godot_4/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/go/godot_4/package.nix b/pkgs/by-name/go/godot_4/package.nix index 64267cd63218..458363dddcc4 100644 --- a/pkgs/by-name/go/godot_4/package.nix +++ b/pkgs/by-name/go/godot_4/package.nix @@ -122,6 +122,8 @@ let x11 = withX11; # Compile with X11 support module_mono_enabled = withMono; + + linkflags = "-Wl,--build-id"; }; enableParallelBuilding = true;