From 198dd168d59c692809339f32309ca1be5029c858 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 4 Sep 2024 14:13:30 -0300 Subject: [PATCH] SDL1: lib.optionals instead of lib.optional --- pkgs/by-name/sd/SDL1/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sd/SDL1/package.nix b/pkgs/by-name/sd/SDL1/package.nix index 705d7fe9b3a1..94b7e03f6e24 100644 --- a/pkgs/by-name/sd/SDL1/package.nix +++ b/pkgs/by-name/sd/SDL1/package.nix @@ -55,8 +55,9 @@ stdenv.mkDerivation (finalAttrs: { propagatedBuildInputs = [ libiconv ] ++ extraPropagatedBuildInputs; - buildInputs = [ ] - ++ lib.optional (!stdenv.hostPlatform.isMinGW && alsaSupport) audiofile + buildInputs = + [ ] + ++ lib.optionals (!stdenv.hostPlatform.isMinGW && alsaSupport) [ audiofile ] ++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ]; configureFlags = [