Skip to content

Commit

Permalink
Merge pull request #263137 from nagy/nagy/chicken-fix
Browse files Browse the repository at this point in the history
chickenPackages.chickenEggs.sdl2{,-image,-ttf}: fix build on linux
  • Loading branch information
wegank authored Oct 25, 2023
2 parents 02c6061 + 291a3c4 commit 42fb488
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pkgs/development/compilers/chicken/5/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,18 @@ in
addToNativeBuildInputs (lib.optionals (stdenv.system == "x86_64-darwin") [ pkgs.memorymappingHook ])
(addPkgConfig old);
sdl-base = addToBuildInputs pkgs.SDL;
sdl2 = addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2;
sdl2-image = addToBuildInputs pkgs.SDL2_image;
sdl2-ttf = addToBuildInputs pkgs.SDL2_ttf;
sdl2 = old:
((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2 old) //
# needed for sdl2-config to be in PATH
(addToNativeBuildInputs pkgs.SDL2 old));
sdl2-image = old:
((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2_image old) //
# needed for sdl2-config to be in PATH
(addToNativeBuildInputs pkgs.SDL2 old));
sdl2-ttf = old:
((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2_ttf old) //
# needed for sdl2-config to be in PATH
(addToNativeBuildInputs pkgs.SDL2 old));
soil = addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy;
sqlite3 = addToBuildInputs pkgs.sqlite;
stemmer = old:
Expand Down

0 comments on commit 42fb488

Please sign in to comment.