summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c9a70f40..15551629 100644
--- a/custom/notify-user.nix
+++ b/custom/notify-user.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
20 forM_ envFiles $ \envFile -> do 20 forM_ envFiles $ \envFile -> do
21 sessionAddr <- tail . snd . break (== '=') . head . filter ("DBUS_SESSION_BUS_ADDRESS=" `isPrefixOf`) . lines <$> readFile envFile 21 sessionAddr <- tail . snd . break (== '=') . head . filter ("DBUS_SESSION_BUS_ADDRESS=" `isPrefixOf`) . lines <$> readFile envFile
22 setEnv "DBUS_SESSION_BUS_ADDRESS" sessionAddr 22 setEnv "DBUS_SESSION_BUS_ADDRESS" sessionAddr
23 callProcess "${libnotify}/bin/notify-send" =<< getArgs 23 callProcess "${libnotify}/bin/notify-send" =<< (:) <$> getArgs <*> getContents
24 24
25 ''; }; 25 ''; };
26 phases = [ "buildPhase" "installPhase" ]; 26 phases = [ "buildPhase" "installPhase" ];