From 5d56bacb03d1260084bb44257935edef42dc4652 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Tue, 3 Jun 2025 21:11:03 +0200 Subject: [PATCH] allegro4: add pkg-config to nativeBuildInputs pkg-config is used to detect the presence of alsa-lib, without it the library is not used and thus audio does not work. Signed-off-by: Marcin Serwin --- pkgs/development/libraries/allegro/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/allegro/default.nix b/pkgs/development/libraries/allegro/default.nix index c729bd547ab6..4363edf0a025 100644 --- a/pkgs/development/libraries/allegro/default.nix +++ b/pkgs/development/libraries/allegro/default.nix @@ -11,6 +11,7 @@ libXcursor, alsa-lib, cmake, + pkg-config, zlib, libpng, libvorbis, @@ -36,7 +37,10 @@ stdenv.mkDerivation rec { ./encoding.patch ]; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + pkg-config + ]; buildInputs = [ texinfo6_5 libXext