lol

audiofile: Use alsaLib for native Linux only.

Using ALSA for non-Linux systems really doesn't make much sense, so
using buildNativeInputs to ensure it won't be used for cross-builds.

Of course, if you're cross-building to Linux, the dependency won't be
used, but right now we don't have a good way to easily check whether the
cross target is Linux.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

aszlig f7385171 5e95800f

+1 -1
+1 -1
pkgs/development/libraries/audiofile/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 name = "audiofile-0.3.6"; 5 5 6 - buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib; 6 + nativeBuildInputs = stdenv.lib.optional stdenv.isLinux alsaLib; 7 7 8 8 src = fetchurl { 9 9 url = "http://audiofile.68k.org/${name}.tar.gz";