about summary refs log tree commit diff
path: root/pkgs/applications/audio/moc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/moc/default.nix')
-rw-r--r--pkgs/applications/audio/moc/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix
index a7ad6590aa6b..eae8f02fe179 100644
--- a/pkgs/applications/audio/moc/default.nix
+++ b/pkgs/applications/audio/moc/default.nix
@@ -3,7 +3,7 @@
 , ncurses, db , popt, libtool
 , libiconv, CoreServices
 # Sound sub-systems
-, alsaSupport ? (!stdenv.isDarwin), alsa-lib
+, alsaSupport ? (!stdenv.hostPlatform.isDarwin), alsa-lib
 , pulseSupport ? true, libpulseaudio
 , jackSupport ? true, libjack2
 , ossSupport ? true
@@ -16,7 +16,7 @@
 , musepackSupport ? true, libmpc, libmpcdec, taglib
 , vorbisSupport ? true, libvorbis
 , speexSupport ? true, speex
-, ffmpegSupport ? true, ffmpeg_7
+, ffmpegSupport ? true, ffmpeg
 , sndfileSupport ? true, libsndfile
 , wavpackSupport ? true, wavpack
 # Misc
@@ -74,13 +74,13 @@ stdenv.mkDerivation {
     ++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
     ++ lib.optional vorbisSupport libvorbis
     ++ lib.optional speexSupport speex
-    ++ lib.optional ffmpegSupport ffmpeg_7
+    ++ lib.optional ffmpegSupport ffmpeg
     ++ lib.optional sndfileSupport libsndfile
     ++ lib.optional wavpackSupport wavpack
     # Misc
     ++ lib.optional curlSupport curl
     ++ lib.optional samplerateSupport libsamplerate
-    ++ lib.optionals stdenv.isDarwin [ libiconv CoreServices ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv CoreServices ];
 
   configureFlags = [
     # Sound sub-systems