summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-22 14:11:45 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-07-22 14:11:45 +0200
commit9c06d7b02d202508158c1490ed54b9957dd2a826 (patch)
treeacdfe2e2289b1c633737fa2311e0e2663661a1b2 /custom
parentae570a7d680f0e5c4ca4eff9d012479e30f0f448 (diff)
downloadnixos-9c06d7b02d202508158c1490ed54b9957dd2a826.tar
nixos-9c06d7b02d202508158c1490ed54b9957dd2a826.tar.gz
nixos-9c06d7b02d202508158c1490ed54b9957dd2a826.tar.bz2
nixos-9c06d7b02d202508158c1490ed54b9957dd2a826.tar.xz
nixos-9c06d7b02d202508158c1490ed54b9957dd2a826.zip
types
Diffstat (limited to 'custom')
-rw-r--r--custom/notify-user.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix
index 7802da5f..6bfd8593 100644
--- a/custom/notify-user.nix
+++ b/custom/notify-user.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
27 lines <- lines <$> getContents 27 lines <- lines <$> getContents
28 case lines of 28 case lines of
29 [] -> exitWith ExitSuccess 29 [] -> exitWith ExitSuccess
30 ((trim -> summary):(trim . unlines -> contents)) -> callProcess "${libnotify}/bin/notify-send" =<< (++) <$> getArgs <*> [summary, contents] 30 ((trim -> summary):(trim . unlines -> contents)) -> callProcess "${libnotify}/bin/notify-send" =<< (++ [summary, contents]) <$> getArgs
31 where 31 where
32 trim = dropWhileEnd isSpace . dropWhile isSpace 32 trim = dropWhileEnd isSpace . dropWhile isSpace
33 ''; }; 33 ''; };