3
0
Fork 0
forked from mirrors/nixpkgs

shairport-sync: fix pulseaudio support & default arguments

This commit is contained in:
Franz Pletz 2018-09-26 18:07:06 +02:00
parent 30d24a2e3f
commit e7ca9af4cc
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
2 changed files with 4 additions and 3 deletions

View file

@ -27,7 +27,7 @@ in
};
arguments = mkOption {
default = "-v -o pulse";
default = "-v -d pulse";
description = ''
Arguments to pass to the daemon. Defaults to a local pulseaudio
server.
@ -72,6 +72,7 @@ in
serviceConfig = {
User = cfg.user;
ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}";
RuntimeDirectory = "shairport-sync";
};
};

View file

@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
configureFlags = [
"--with-alsa" "--with-pipe" "--with-pulseaudio" "--with-stdout"
"--with-alsa" "--with-pipe" "--with-pa" "--with-stdout"
"--with-avahi" "--with-ssl=openssl" "--with-soxr"
"--without-configfiles" "--without-initscript"
"--without-configfiles"
];
meta = with stdenv.lib; {