summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/haskell/xmonad-tv/src/Helpers
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-03-14 23:44:08 +0100
committertv <tv@krebsco.de>2021-03-15 01:46:50 +0100
commit2251d5cb566224f7102fcf7e77c2c2c81088a0c5 (patch)
tree0c7fcf5681a9d669cec2185a744c113daf8a675c /tv/5pkgs/haskell/xmonad-tv/src/Helpers
parent478ccdaac7bcb6171919726317e809faa1aae8f0 (diff)
tv xmonad: replace Paths by {-pkg-}
Diffstat (limited to 'tv/5pkgs/haskell/xmonad-tv/src/Helpers')
-rw-r--r--tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs b/tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs
deleted file mode 100644
index 1029d60be..000000000
--- a/tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Helpers.Path where
-
-import qualified Data.List
-import qualified System.Directory
-import qualified System.IO.Unsafe
-
-
-findExecutable :: String -> FilePath
-findExecutable =
- System.IO.Unsafe.unsafePerformIO . find
- where
- find name =
- maybe failure id <$> System.Directory.findExecutable name
- where
- failure = error (Data.List.intercalate " " [name, "not found"])