From 3d1473971312c8aab019808f9c14eeb2254b9440 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 2 Aug 2016 19:00:11 +0200 Subject: try mpd with umask 0 again --- bragi.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bragi.nix b/bragi.nix index c09c3375..b6be74ea 100644 --- a/bragi.nix +++ b/bragi.nix @@ -49,8 +49,16 @@ in rec { ''; }; - mpd = pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }; - + mpd = pkgs.symlinkJoin { + name = "mpd"; + paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; + buildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/mpd \ + --run "umask 0" + ''; + }; + inherit (pkgs.callPackage ./custom/thermoprint {}) thermoprint-server thermoprint-webgui tprint; inherit (haskellPackages) trivmix; -- cgit v1.2.3