summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-06-02 18:02:32 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-06-02 18:02:32 +0200
commita43f465bc70a2002acb50700526516c1c14323f4 (patch)
tree0ba765de33c6b632023f47fc204a4bb435bf89bd /custom
parentdd9e05c6b46bb91ff8f351c9e8c58efdf8ceed68 (diff)
downloadnixos-a43f465bc70a2002acb50700526516c1c14323f4.tar
nixos-a43f465bc70a2002acb50700526516c1c14323f4.tar.gz
nixos-a43f465bc70a2002acb50700526516c1c14323f4.tar.bz2
nixos-a43f465bc70a2002acb50700526516c1c14323f4.tar.xz
nixos-a43f465bc70a2002acb50700526516c1c14323f4.zip
utillinux
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp-mediaclient.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix
index b2632dc6..5ec91e25 100644
--- a/custom/uucp-mediaclient.nix
+++ b/custom/uucp-mediaclient.nix
@@ -15,10 +15,9 @@ let
15 cp $src recv-media 15 cp $src recv-media
16 ''; 16 '';
17 17
18 inherit zsh coreutils; 18 inherit zsh coreutils utillinux;
19 inherit (config.security) wrapperDir; 19 inherit (config.security) wrapperDir;
20 inherit (cfg) mediaDir; 20 inherit (cfg) mediaDir;
21 utillinux = util-linux;
22 doNotify = cfg.notify.users != []; 21 doNotify = cfg.notify.users != [];
23 ffmpeg = if doNotify then ffmpeg-full else "/no-such-path"; 22 ffmpeg = if doNotify then ffmpeg-full else "/no-such-path";
24 notify = writeScript "notify.sh" '' 23 notify = writeScript "notify.sh" ''