Skip to content

Commit

Permalink
stuntrally: drop freeimage
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Jan 14, 2024
1 parent 25f6d69 commit 672a138
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/games/stuntrally/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ stdenv.mkDerivation rec {
hash = "sha256-fglm1FetFGHM/qGTtpxDb8+k2iAREn5DQR5GPujuLms=";
};

postPatch = ''
substituteInPlace config/*-default.cfg \
--replace "screenshot_png = off" "screenshot_png = on"
substituteInPlace source/*/BaseApp_Create.cpp \
--replace "Codec_FreeImage" "Codec_STBI"
'';

preConfigure = ''
rmdir data/tracks
ln -s ${tracks}/ data/tracks
Expand Down

0 comments on commit 672a138

Please sign in to comment.