Commit 80aa94da authored by Bart Brouns's avatar Bart Brouns
Browse files

surge: fix build with GCC 15

parent e88fb1a7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -70,6 +70,9 @@ stdenv.mkDerivation (finalAttrs: {
    rsync
  ];

  # Fix build with gcc 15
  env.NIX_CFLAGS_COMPILE = "-Wno-deprecated";

  postPatch = ''
    substituteInPlace src/common/SurgeStorage.cpp \
      --replace "/usr/share/Surge" "$out/share/surge"