From 6130dfd3dcf40b9cd32531b8ff65517c9bdc5a01 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 1 May 2017 23:19:00 +0100 Subject: [PATCH] openal-soft: move cmake to nativeBuildInputs This allows cross-compiling it. --- pkgs/development/libraries/openal-soft/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/openal-soft/default.nix b/pkgs/development/libraries/openal-soft/default.nix index c17c224415db..87e5e44b7dae 100644 --- a/pkgs/development/libraries/openal-soft/default.nix +++ b/pkgs/development/libraries/openal-soft/default.nix @@ -18,7 +18,9 @@ stdenv.mkDerivation rec { sha256 = "051k5fy8pk4fd9ha3qaqcv08xwbks09xl5qs4ijqq2qz5xaghhd3"; }; - buildInputs = [ cmake ] + nativeBuildInputs = [ cmake ]; + + buildInputs = [] ++ optional alsaSupport alsaLib ++ optional pulseSupport libpulseaudio ++ optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];