diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 16:42:32 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 16:42:32 +0200 |
commit | 48d0530fdff0e753f0dbce5b1da68aacc72cf0b8 (patch) | |
tree | d9a50000a65e40ea1f012c9a33b9bcb98025d5cd | |
parent | 8b7b36c7e17585e67b1c26a2b25d5b00763e048f (diff) | |
download | nixos-48d0530fdff0e753f0dbce5b1da68aacc72cf0b8.tar nixos-48d0530fdff0e753f0dbce5b1da68aacc72cf0b8.tar.gz nixos-48d0530fdff0e753f0dbce5b1da68aacc72cf0b8.tar.bz2 nixos-48d0530fdff0e753f0dbce5b1da68aacc72cf0b8.tar.xz nixos-48d0530fdff0e753f0dbce5b1da68aacc72cf0b8.zip |
syntax
-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 |