From af02d2210e3bbbe4ba9f5dae202aac35be92f244 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 21 Jul 2016 21:37:11 +0200 Subject: types --- 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 15551629..0e079eb5 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 <*> getContents + callProcess "${libnotify}/bin/notify-send" =<< (++) <$> getArgs <*> (pure <$> getContents) ''; }; phases = [ "buildPhase" "installPhase" ]; -- cgit v1.2.3