about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2019-02-03 15:31:20 +0000
committerJan Malakhovski <oxij@oxij.org>2019-02-13 23:10:38 +0000
commit20193f85e9c1b1540bca86233a0f3d2ebf7efaa1 (patch)
treef0f75a14fa24a5f938ba97b95ee7eb9f232381fe /pkgs/applications/video
parent88ca6dd78a320d8eb8ee99a074e7ffceedeabc1e (diff)
downloadnixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar.gz
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar.bz2
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar.lz
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar.xz
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.tar.zst
nixlib-20193f85e9c1b1540bca86233a0f3d2ebf7efaa1.zip
mplayer: move defaults to package file
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/mplayer/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index e017e7cc0015..c77486a30cf1 100644
--- a/pkgs/applications/video/mplayer/default.nix
+++ b/pkgs/applications/video/mplayer/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg
+{ config, stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg
 , aalibSupport ? true, aalib ? null
 , fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null
 , fribidiSupport ? true, fribidi ? null
@@ -19,7 +19,7 @@
 , theoraSupport ? true, libtheora ? null
 , x264Support ? false, x264 ? null
 , jackaudioSupport ? false, libjack2 ? null
-, pulseSupport ? false, libpulseaudio ? null
+, pulseSupport ? config.pulseaudio or false, libpulseaudio ? null
 , bs2bSupport ? false, libbs2b ? null
 # For screenshots
 , libpngSupport ? true, libpng ? null