summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--users/gkleen@bragi.nix14
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}