From 7024b348e2853c975ea9757ed36866dcacd8f24a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 21 Jul 2016 21:15:27 +0200 Subject: syntax --- 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 f95bc43d..30a844bd 100644 --- a/custom/notify-user.nix +++ b/custom/notify-user.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation { main = do env <- shellEnv - either print return =<< runSh (env { envWorkDir = "/" } ) $ do + (either print return =<<) . runSh (env { envWorkDir = "/" } ) $ do (envFile:_) <- liftIO $ glob "/home/${user}/.dbus/session-bus/*-0" sessionAddr <- snd . break (== '=') . head . filter ("DBUS_SESSION_BUS_ADDRESS=" `isPrefixOf`) . lines <$> input envFile env <- getShellEnv -- cgit v1.2.3