haskell-cabal-sandboxing: don't let the haskell plugin write to stdout
@@ -13,27 +13,27 @@ import Elektra.Plugin
import Foreign.Ptr
elektraHaskellOpen :: Plugin -> Key -> IO PluginStatus
-elektraHaskellOpen p k = putStrLn "haskell elektraHaskellOpen" >> return Success
+elektraHaskellOpen p k = keySetMeta k "/plugins/haskell" "elektraHaskellOpen" >> return Success
hs_elektraHaskellOpen = elektraPluginOpenWith elektraHaskellOpen
elektraHaskellClose :: Plugin -> Key -> IO PluginStatus
-elektraHaskellClose p k = putStrLn "haskell elektraHaskellClose" >> return Success
+elektraHaskellClose p k = keySetMeta k "/plugins/haskell" "elektraHaskellClose" >> return Success
hs_elektraHaskellClose = elektraPluginCloseWith elektraHaskellClose
elektraHaskellGet :: Plugin -> KeySet -> Key -> IO PluginStatus
-elektraHaskellGet p ks k = putStrLn "haskell elektraHaskellGet" >> return NoUpdate
+elektraHaskellGet p ks k = keySetMeta k "/plugins/haskell" "elektraHaskellGet" >> return NoUpdate
hs_elektraHaskellGet = elektraPluginGetWith elektraHaskellGet
elektraHaskellSet :: Plugin -> KeySet -> Key -> IO PluginStatus
-elektraHaskellSet p ks k = putStrLn "haskell elektraHaskellSet" >> return NoUpdate
+elektraHaskellSet p ks k = keySetMeta k "/plugins/haskell" "elektraHaskellSet" >> return NoUpdate
hs_elektraHaskellSet = elektraPluginSetWith elektraHaskellSet
elektraHaskellError :: Plugin -> KeySet -> Key -> IO PluginStatus
-elektraHaskellError p ks k = putStrLn "haskell elektraHaskellError" >> return Success
+elektraHaskellError p ks k = keySetMeta k "/plugins/haskell" "elektraHaskellError" >> return Success
hs_elektraHaskellError = elektraPluginErrorWith elektraHaskellError
elektraHaskellCheckConfig :: Key -> KeySet -> IO PluginStatus
-elektraHaskellCheckConfig k ks = putStrLn "haskell elektraHaskellCheckConfig" >> return Success
+elektraHaskellCheckConfig k ks = keySetMeta k "/plugins/haskell" "elektraHaskellCheckConfig" >> return Success
hs_elektraHaskellCheckConfig = elektraPluginCheckConfigWith elektraHaskellCheckConfig
foreign export ccall hs_elektraHaskellOpen :: Ptr Plugin -> Ptr Key -> IO Int
