summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-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 15551629..0e079eb5 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 <*> getContents 23 callProcess "${libnotify}/bin/notify-send" =<< (++) <$> getArgs <*> (pure <$> getContents)
24 24
25 ''; }; 25 ''; };
26 phases = [ "buildPhase" "installPhase" ]; 26 phases = [ "buildPhase" "installPhase" ];