about summary refs log tree commit diff
path: root/pkgs/applications/emulators/goldberg-emu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/emulators/goldberg-emu/default.nix')
-rw-r--r--pkgs/applications/emulators/goldberg-emu/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/goldberg-emu/default.nix b/pkgs/applications/emulators/goldberg-emu/default.nix
index 5ff25efbf151a..7e00ad6a5d681 100644
--- a/pkgs/applications/emulators/goldberg-emu/default.nix
+++ b/pkgs/applications/emulators/goldberg-emu/default.nix
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
   # It attempts to install windows-only libraries which we never build
   patches = [ ./dont-install-unsupported.patch ];
 
+  postPatch = ''
+    # Fix gcc-13 build failure due to missing <string> include.
+    sed -e '1i #include <string>' -i dll/settings.h
+  '';
+
   nativeBuildInputs = [ cmake ];
   buildInputs = [ protobuf ];