Unverified Commit 92e3defb authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

disk_indicator: fix build with gcc15 (#508538)

parents c2ee9cf9 a67edb0e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ stdenv.mkDerivation {
    substituteInPlace Makefile --replace "-Werror" ""
    # avoid host-specific options
    substituteInPlace Makefile --replace "-march=native" ""
    # fix signal handler signature
    substituteInPlace src/main.c --replace-fail "void handle_signal()" "void handle_signal(int sig)"
  '';

  postConfigure = ''