openal-soft: move cmake to nativeBuildInputs

This allows cross-compiling it.
This commit is contained in:
Linus Heckemann 2017-05-01 23:19:00 +01:00
parent d58c6a4730
commit 6130dfd3dc

View File

@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
sha256 = "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3"; sha256 = "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3";
}; };
buildInputs = [ cmake ] nativeBuildInputs = [ cmake ];
buildInputs = []
++ optional alsaSupport alsaLib ++ optional alsaSupport alsaLib
++ optional pulseSupport libpulseaudio ++ optional pulseSupport libpulseaudio
++ optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ]; ++ optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];