summaryrefslogtreecommitdiff
path: root/customized/mpd.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-07 19:40:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-07 19:40:10 +0200
commitb1562bb4ab36711d369c597d2b8630e0328eb393 (patch)
tree7c95943975350ba6ec60bf29e2eab87ff3f32e50 /customized/mpd.nix
parentda96566c406bb7f202812f97fb1a55655187dc8b (diff)
downloadnixos-b1562bb4ab36711d369c597d2b8630e0328eb393.tar
nixos-b1562bb4ab36711d369c597d2b8630e0328eb393.tar.gz
nixos-b1562bb4ab36711d369c597d2b8630e0328eb393.tar.bz2
nixos-b1562bb4ab36711d369c597d2b8630e0328eb393.tar.xz
nixos-b1562bb4ab36711d369c597d2b8630e0328eb393.zip
trivmix & promiscuous (irc said so)
Diffstat (limited to 'customized/mpd.nix')
-rw-r--r--customized/mpd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/customized/mpd.nix b/customized/mpd.nix
index 0b7b1edf..f579a4bf 100644
--- a/customized/mpd.nix
+++ b/customized/mpd.nix
@@ -100,6 +100,11 @@ in stdenv.mkDerivation rec {
100 ++ opt stdenv.isLinux 100 ++ opt stdenv.isLinux
101 "--with-systemdsystemunitdir=$(out)/etc/systemd/system"; 101 "--with-systemdsystemunitdir=$(out)/etc/systemd/system";
102 102
103 postInstall = ''
104 wrapProgram $out/bin/mpd \
105 --set JACK_PROMISCUOUS_SERVER 1
106 '';
107
103 NIX_LDFLAGS = '' 108 NIX_LDFLAGS = ''
104 ${if shoutSupport then "-lshout" else ""} 109 ${if shoutSupport then "-lshout" else ""}
105 ''; 110 '';