From 9c06d7b02d202508158c1490ed54b9957dd2a826 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 22 Jul 2016 14:11:45 +0200 Subject: types --- custom/notify-user.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') 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 { lines <- lines <$> getContents case lines of [] -> exitWith ExitSuccess - ((trim -> summary):(trim . unlines -> contents)) -> callProcess "${libnotify}/bin/notify-send" =<< (++) <$> getArgs <*> [summary, contents] + ((trim -> summary):(trim . unlines -> contents)) -> callProcess "${libnotify}/bin/notify-send" =<< (++ [summary, contents]) <$> getArgs where trim = dropWhileEnd isSpace . dropWhile isSpace ''; }; -- cgit v1.2.3