From 7c848b07396625b5f7215ca528145b22af48582e Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Mon, 28 Apr 2025 18:00:11 +0200 Subject: [PATCH] sdl2-compat: add `sdl2` to pkg-config modules `sdl2` should also be present as a module to ensure that it's detected by applications using `pkg-config` for SDL2 detection. --- pkgs/by-name/sd/sdl2-compat/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/sd/sdl2-compat/package.nix b/pkgs/by-name/sd/sdl2-compat/package.nix index e7fec71ac32a..7a5972909def 100644 --- a/pkgs/by-name/sd/sdl2-compat/package.nix +++ b/pkgs/by-name/sd/sdl2-compat/package.nix @@ -108,6 +108,9 @@ stdenv.mkDerivation (finalAttrs: { marcin-serwin ]; platforms = lib.platforms.all; - pkgConfigModules = [ "sdl2-compat" ]; + pkgConfigModules = [ + "sdl2-compat" + "sdl2" + ]; }; })