From 48d0530fdff0e753f0dbce5b1da68aacc72cf0b8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 2 Oct 2016 16:42:32 +0200 Subject: syntax --- custom/notify-user.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/notify-user.nix b/custom/notify-user.nix index 382580f3..17123e47 100644 --- a/custom/notify-user.nix +++ b/custom/notify-user.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation { case lines of ((trim -> app):(trim -> summary):(trim . unlines -> contents)) -> do Notify.display_ $ Notify.appName app <> Notify.summary summary <> Notify.body contents - _ -> exitWith ExitFailure + _ -> exitWith $ ExitFailure 2 where trim = dropWhileEnd isSpace . dropWhile isSpace unQuote ('\''':xs) = init xs -- cgit v1.2.3