diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-10 00:01:04 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-10 00:01:04 +0200 |
commit | 8480fa4a9d62b2a6dadbfe1a94445a8ba4729034 (patch) | |
tree | d69118ebe66ccbd03ae15f26f6c7090d8dbdcb7c /users/gkleen@bragi.nix | |
parent | 427e988ae5212899b3a9e434faab334afb2b0da3 (diff) | |
download | nixos-8480fa4a9d62b2a6dadbfe1a94445a8ba4729034.tar nixos-8480fa4a9d62b2a6dadbfe1a94445a8ba4729034.tar.gz nixos-8480fa4a9d62b2a6dadbfe1a94445a8ba4729034.tar.bz2 nixos-8480fa4a9d62b2a6dadbfe1a94445a8ba4729034.tar.xz nixos-8480fa4a9d62b2a6dadbfe1a94445a8ba4729034.zip |
wrapped jackmeter
Diffstat (limited to 'users/gkleen@bragi.nix')
-rw-r--r-- | users/gkleen@bragi.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix index 9e09aa87..326280f3 100644 --- a/users/gkleen@bragi.nix +++ b/users/gkleen@bragi.nix | |||
@@ -14,5 +14,19 @@ | |||
14 | --run "umask 0" | 14 | --run "umask 0" |
15 | ''; | 15 | ''; |
16 | }; | 16 | }; |
17 | jackmeter = let jackmeter = pkgs.jackmeter.override {}; in pkgs.stdenv.mkDerivation { | ||
18 | name = "jackmeter-wrapper"; | ||
19 | src = jackmeter; | ||
20 | unpackPhase = "cat"; | ||
21 | buildInputs = [ pkgs.makeWrapper pkgs.rsync ]; | ||
22 | installPhase = '' | ||
23 | mkdir -p $out | ||
24 | rsync -a $src/ $out/ | ||
25 | chmod u+w $out/bin | ||
26 | wrapProgram $out/bin/jack_meter \ | ||
27 | --set JACK_PROMISCUOUS_SERVER 1 \ | ||
28 | --run "umask 0" | ||
29 | ''; | ||
30 | }; | ||
17 | }; | 31 | }; |
18 | } | 32 | } |