diff --git a/pkgs/by-name/zm/zmusic/package.nix b/pkgs/by-name/zm/zmusic/package.nix index 6c7c04f4a648..c9f1cf10187d 100644 --- a/pkgs/by-name/zm/zmusic/package.nix +++ b/pkgs/by-name/zm/zmusic/package.nix @@ -29,9 +29,7 @@ stdenv.mkDerivation rec { "dev" ]; - patches = [ - ./fluidsynth.patch - ]; + patches = [ ./fluidsynth.patch ]; postPatch = '' substituteInPlace source/mididevices/music_fluidsynth_mididevice.cpp \ @@ -46,12 +44,11 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - alsa-lib fluidsynth libsndfile mpg123 zlib - ]; + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]; meta = { description = "GZDoom's music system as a standalone library";