Commit 6bea196e authored by Sigmanificient's avatar Sigmanificient
Browse files

barrage: fix build

parent a8526804
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