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:
parent
83c5ee361c
commit
198dd168d5
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue