summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-08 00:06:39 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-08 00:06:39 +0200
commitbc1aa6c3fe3647337a83f93b60f1374eecd67217 (patch)
tree95e011c688f0b61c638c26f5a90ef59bf20ef138 /users
parent12399cb846a7b97ba6d8785d90daf033fd0b97ac (diff)
downloadnixos-bc1aa6c3fe3647337a83f93b60f1374eecd67217.tar
nixos-bc1aa6c3fe3647337a83f93b60f1374eecd67217.tar.gz
nixos-bc1aa6c3fe3647337a83f93b60f1374eecd67217.tar.bz2
nixos-bc1aa6c3fe3647337a83f93b60f1374eecd67217.tar.xz
nixos-bc1aa6c3fe3647337a83f93b60f1374eecd67217.zip
Patched mpv for use with jack
Diffstat (limited to 'users')
-rw-r--r--users/gkleen@bragi.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix
new file mode 100644
index 00000000..29d8b8a1
--- /dev/null
+++ b/users/gkleen@bragi.nix
@@ -0,0 +1,17 @@
1{
2 packageOverrides = pkgs: {
3 mpv = let mpv = pkgs.mpv.override { youtubeSupport = true; theoraSupport = true; } in pkgs.stdenv.mkDerivation {
4 name = "mpv-wrapper";
5 src = mpv;
6 unpackPhase = "cat";
7 buildInputs = [ pkgs.makeWrapper ];
8 installPhase = ''
9 mkdir -p $out/bin
10 cp $src/bin/mpv $out/bin
11 wrapProgram $out/bin/mpv \
12 --set JACK_PROMISCUOUS_SERVER 1 \
13 --run "umask 0"
14 '';
15 };
16 };
17}