From e83aad8b4ee101f529335ce8a7c22e7b589152b9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 9 Jul 2016 17:54:07 +0200 Subject: wrap jack2 less insanely --- bragi.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bragi.nix b/bragi.nix index 35d40f76..58391bc9 100644 --- a/bragi.nix +++ b/bragi.nix @@ -45,7 +45,20 @@ in rec { --set JACK_PROMISCUOUS_SERVER 1 ''; }; - jack2 = pkgs.callPackage ./customized/jack2.nix {}; + # jack2 = pkgs.callPackage ./customized/jack2.nix {}; + jack2 = pkgs.symlinkJoin { + name = "jack2"; + paths = [ pkgs.jack2 ]; + buildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + for bin in $out/bin/*; do + wrapProgram $bin \ + --set JACK_PROMISCUOUS_SERVER 1 \ + --run "umask 0" + done + ''; + }; + mpd = pkgs.callPackage ./customized/mpd.nix { gmeSupport = false; game-music-emu = null; -- cgit v1.2.3