diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-02 19:00:11 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-02 19:00:11 +0200 |
commit | 3d1473971312c8aab019808f9c14eeb2254b9440 (patch) | |
tree | 15c1e4872aa567ef98fb512ecb200617f8235ab4 | |
parent | 7e19e3e34ffb71d1de71aee8b47d8eb64cbab0f7 (diff) | |
download | nixos-3d1473971312c8aab019808f9c14eeb2254b9440.tar nixos-3d1473971312c8aab019808f9c14eeb2254b9440.tar.gz nixos-3d1473971312c8aab019808f9c14eeb2254b9440.tar.bz2 nixos-3d1473971312c8aab019808f9c14eeb2254b9440.tar.xz nixos-3d1473971312c8aab019808f9c14eeb2254b9440.zip |
try mpd with umask 0 again
-rw-r--r-- | bragi.nix | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -49,8 +49,16 @@ in rec { | |||
49 | ''; | 49 | ''; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | mpd = pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }; | 52 | mpd = pkgs.symlinkJoin { |
53 | 53 | name = "mpd"; | |
54 | paths = [ (pkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }) ]; | ||
55 | buildInputs = [ pkgs.makeWrapper ]; | ||
56 | postBuild = '' | ||
57 | wrapProgram $out/bin/mpd \ | ||
58 | --run "umask 0" | ||
59 | ''; | ||
60 | }; | ||
61 | |||
54 | inherit (pkgs.callPackage ./custom/thermoprint {}) thermoprint-server thermoprint-webgui tprint; | 62 | inherit (pkgs.callPackage ./custom/thermoprint {}) thermoprint-server thermoprint-webgui tprint; |
55 | 63 | ||
56 | inherit (haskellPackages) trivmix; | 64 | inherit (haskellPackages) trivmix; |