Unverified Commit 8480f21d authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

barrage: fix build (#503210)

parents 6f15fe1f 6bea196e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-cGYrG7A4Ffh51KyR+UpeWu7A40eqxI8g4LefBIs18kg=";
  };

  postPatch = ''
    substituteInPlace src/main.c \
      --replace-fail "void refresh_screen()" "void refresh_screen(SDL_Surface *screen)"
  '';

  buildInputs = [
    SDL
    SDL_mixer