diff options
Diffstat (limited to 'custom/notify-user.nix')
-rw-r--r-- | custom/notify-user.nix | 2 |
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 | ''; }; |