audiofile: move alsaLib from nativeBuildInputs to buildInputs

This commit is contained in:
Ryan Trinkle 2017-09-21 23:23:17 -04:00 committed by John Ericson
parent f1562a4c04
commit 20ba83a196

View File

@ -3,10 +3,12 @@
stdenv.mkDerivation rec {
name = "audiofile-0.3.6";
nativeBuildInputs = stdenv.lib.optional stdenv.isLinux alsaLib;
buildInputs = (stdenv.lib.optional stdenv.isDarwin CoreServices) ++
(stdenv.lib.optional stdenv.isDarwin AudioUnit);
buildInputs =
stdenv.lib.optionals stdenv.isLinux [
alsaLib
] ++ stdenv.lib.optionals stdenv.isDarwin [
CoreServices AudioUnit
];
src = fetchurl {
url = "http://audiofile.68k.org/${name}.tar.gz";