diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 20:20:18 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-07 20:20:18 +0200 |
commit | c3090dabc8fdd0652361a8b56bb594edf0f12dcc (patch) | |
tree | bfd017e34777e9a111869b11d646f4b8e8015c46 | |
parent | a9f27926d0b8f180fc89c00f8a2d55992c6a0003 (diff) | |
download | nixos-c3090dabc8fdd0652361a8b56bb594edf0f12dcc.tar nixos-c3090dabc8fdd0652361a8b56bb594edf0f12dcc.tar.gz nixos-c3090dabc8fdd0652361a8b56bb594edf0f12dcc.tar.bz2 nixos-c3090dabc8fdd0652361a8b56bb594edf0f12dcc.tar.xz nixos-c3090dabc8fdd0652361a8b56bb594edf0f12dcc.zip |
mpv fixes for jack
-rw-r--r-- | bragi.nix | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,14 @@ | |||
31 | gmeSupport = false; | 31 | gmeSupport = false; |
32 | game-music-emu = null; | 32 | game-music-emu = null; |
33 | }; | 33 | }; |
34 | mpv = pkgs.stdenv.lib.overrideDerivation pkgs.mpv (oldAttrs: { | ||
35 | buildInputs = oldAttrs.buildInputs ++ [pkgs.makeWrapper] | ||
36 | postInstall = '' | ||
37 | wrapProgram $out/bin/mpv \ | ||
38 | --set JACK_PROMISCUOUS_SERVER 1 \ | ||
39 | --run "umask 0" | ||
40 | ''; | ||
41 | }); | ||
34 | }; | 42 | }; |
35 | 43 | ||
36 | environment.systemPackages = with pkgs; [ | 44 | environment.systemPackages = with pkgs; [ |