summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:39:13 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 16:39:13 +0200
commita2c1a4957e7d001806b6f51a861fbfead4586948 (patch)
tree6ce200d16d694b99ac38b62935e2c30eb30ced17
parent95fefb100bdd9d4c4c70f532a68ed08b559676b8 (diff)
downloadnixos-a2c1a4957e7d001806b6f51a861fbfead4586948.tar
nixos-a2c1a4957e7d001806b6f51a861fbfead4586948.tar.gz
nixos-a2c1a4957e7d001806b6f51a861fbfead4586948.tar.bz2
nixos-a2c1a4957e7d001806b6f51a861fbfead4586948.tar.xz
nixos-a2c1a4957e7d001806b6f51a861fbfead4586948.zip
escaping
-rw-r--r--custom/notify-user.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/notify-user.nix b/custom/notify-user.nix
index ddf78db0..99c6d8c1 100644
--- a/custom/notify-user.nix
+++ b/custom/notify-user.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
34 Notify.display_ $ Notify.appName "notify-${user}" <> Notify.summary summary <> Notify.body contents 34 Notify.display_ $ Notify.appName "notify-${user}" <> Notify.summary summary <> Notify.body contents
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
38 unQuote ('"':xs) = init xs 38 unQuote ('"':xs) = init xs
39 unQuote xs = xs 39 unQuote xs = xs
40 ''; }; 40 ''; };