1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

SDL1: lib.optionals instead of lib.optional

This commit is contained in:
Anderson Torres 2024-09-04 14:13:30 -03:00
parent 83c5ee361c
commit 198dd168d5

View file

@ -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 = [