Skip to content

Commit 198dd16

Browse files
SDL1: lib.optionals instead of lib.optional
1 parent 83c5ee3 commit 198dd16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkgs/by-name/sd/SDL1/package.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ stdenv.mkDerivation (finalAttrs: {
5555

5656
propagatedBuildInputs = [ libiconv ] ++ extraPropagatedBuildInputs;
5757

58-
buildInputs = [ ]
59-
++ lib.optional (!stdenv.hostPlatform.isMinGW && alsaSupport) audiofile
58+
buildInputs =
59+
[ ]
60+
++ lib.optionals (!stdenv.hostPlatform.isMinGW && alsaSupport) [ audiofile ]
6061
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
6162

6263
configureFlags = [

0 commit comments

Comments
 (0)