diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-09 17:54:07 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-09 17:54:07 +0200 |
commit | e83aad8b4ee101f529335ce8a7c22e7b589152b9 (patch) | |
tree | 1f7ce42d53e41d35c3a7acd9c58af41c4a29737c | |
parent | 7d257a3f8cd0a79e6bf3164b5ab49851a6150449 (diff) | |
download | nixos-e83aad8b4ee101f529335ce8a7c22e7b589152b9.tar nixos-e83aad8b4ee101f529335ce8a7c22e7b589152b9.tar.gz nixos-e83aad8b4ee101f529335ce8a7c22e7b589152b9.tar.bz2 nixos-e83aad8b4ee101f529335ce8a7c22e7b589152b9.tar.xz nixos-e83aad8b4ee101f529335ce8a7c22e7b589152b9.zip |
wrap jack2 less insanely
-rw-r--r-- | bragi.nix | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -45,7 +45,20 @@ in rec { | |||
45 | --set JACK_PROMISCUOUS_SERVER 1 | 45 | --set JACK_PROMISCUOUS_SERVER 1 |
46 | ''; | 46 | ''; |
47 | }; | 47 | }; |
48 | jack2 = pkgs.callPackage ./customized/jack2.nix {}; | 48 | # jack2 = pkgs.callPackage ./customized/jack2.nix {}; |
49 | jack2 = pkgs.symlinkJoin { | ||
50 | name = "jack2"; | ||
51 | paths = [ pkgs.jack2 ]; | ||
52 | buildInputs = [ pkgs.makeWrapper ]; | ||
53 | postBuild = '' | ||
54 | for bin in $out/bin/*; do | ||
55 | wrapProgram $bin \ | ||
56 | --set JACK_PROMISCUOUS_SERVER 1 \ | ||
57 | --run "umask 0" | ||
58 | done | ||
59 | ''; | ||
60 | }; | ||
61 | |||
49 | mpd = pkgs.callPackage ./customized/mpd.nix { | 62 | mpd = pkgs.callPackage ./customized/mpd.nix { |
50 | gmeSupport = false; | 63 | gmeSupport = false; |
51 | game-music-emu = null; | 64 | game-music-emu = null; |