diff options
Diffstat (limited to 'custom')
| -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 382580f3..17123e47 100644 --- a/custom/notify-user.nix +++ b/custom/notify-user.nix | |||
| @@ -31,7 +31,7 @@ stdenv.mkDerivation { | |||
| 31 | case lines of | 31 | case lines of |
| 32 | ((trim -> app):(trim -> summary):(trim . unlines -> contents)) -> do | 32 | ((trim -> app):(trim -> summary):(trim . unlines -> contents)) -> do |
| 33 | Notify.display_ $ Notify.appName app <> Notify.summary summary <> Notify.body contents | 33 | Notify.display_ $ Notify.appName app <> Notify.summary summary <> Notify.body contents |
| 34 | _ -> exitWith ExitFailure | 34 | _ -> exitWith $ ExitFailure 2 |
| 35 | where | 35 | where |
| 36 | trim = dropWhileEnd isSpace . dropWhile isSpace | 36 | trim = dropWhileEnd isSpace . dropWhile isSpace |
| 37 | unQuote ('\''':xs) = init xs | 37 | unQuote ('\''':xs) = init xs |
