diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-08 00:10:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-08 00:10:11 +0200 |
commit | 228715623c0a7901e6edf60abe0d92ee7aa54895 (patch) | |
tree | ded570ee1dcca90d82161a7eb48384d63665b589 /users/gkleen@bragi.nix | |
parent | 61d77418f959ab20efa0183438c600d3536e6ce4 (diff) | |
download | nixos-228715623c0a7901e6edf60abe0d92ee7aa54895.tar nixos-228715623c0a7901e6edf60abe0d92ee7aa54895.tar.gz nixos-228715623c0a7901e6edf60abe0d92ee7aa54895.tar.bz2 nixos-228715623c0a7901e6edf60abe0d92ee7aa54895.tar.xz nixos-228715623c0a7901e6edf60abe0d92ee7aa54895.zip |
we would like more than just bin/mpv
Diffstat (limited to 'users/gkleen@bragi.nix')
-rw-r--r-- | users/gkleen@bragi.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix index e6de4227..b35b7791 100644 --- a/users/gkleen@bragi.nix +++ b/users/gkleen@bragi.nix | |||
@@ -4,10 +4,10 @@ | |||
4 | name = "mpv-wrapper"; | 4 | name = "mpv-wrapper"; |
5 | src = mpv; | 5 | src = mpv; |
6 | unpackPhase = "cat"; | 6 | unpackPhase = "cat"; |
7 | buildInputs = [ pkgs.makeWrapper ]; | 7 | buildInputs = [ pkgs.makeWrapper pkgs.rsync ]; |
8 | installPhase = '' | 8 | installPhase = '' |
9 | mkdir -p $out/bin | 9 | mkdir -p $out |
10 | cp $src/bin/mpv $out/bin | 10 | rsync -a $src/ $out/ |
11 | wrapProgram $out/bin/mpv \ | 11 | wrapProgram $out/bin/mpv \ |
12 | --set JACK_PROMISCUOUS_SERVER 1 \ | 12 | --set JACK_PROMISCUOUS_SERVER 1 \ |
13 | --run "umask 0" | 13 | --run "umask 0" |