From 71feaee7aa7efd7fb35f34ac34a6fbd23e47d96e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 21 Jul 2016 21:36:21 +0200 Subject: read summary from stdin --- custom/notify-user.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { forM_ envFiles $ \envFile -> do sessionAddr <- tail . snd . break (== '=') . head . filter ("DBUS_SESSION_BUS_ADDRESS=" `isPrefixOf`) . lines <$> readFile envFile setEnv "DBUS_SESSION_BUS_ADDRESS" sessionAddr - callProcess "${libnotify}/bin/notify-send" =<< getArgs + callProcess "${libnotify}/bin/notify-send" =<< (:) <$> getArgs <*> getContents ''; }; phases = [ "buildPhase" "installPhase" ]; -- cgit v1.2.3