diff --git a/Hclip.cabal b/Hclip.cabal
--- a/Hclip.cabal
+++ b/Hclip.cabal
@@ -7,7 +7,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             3.0.0.1
+version:             3.0.0.2
 
 synopsis:            A small cross-platform library for reading and modifying the system clipboard.
 
diff --git a/System/Hclip.hs b/System/Hclip.hs
--- a/System/Hclip.hs
+++ b/System/Hclip.hs
@@ -154,6 +154,7 @@
 resolveLinuxApp :: Command a -> IO String
 resolveLinuxApp cmd = decode cmd <$> chooseFirstApp ["xsel", "xclip"] 
     where
+        decode :: Command a -> String -> String
         decode GetClipboard "xsel"      = "xsel -o"
         decode (SetClipboard _) "xsel"  = "xsel -i"
         decode GetClipboard "xclip"     = "xclip -selection c -o"
