diff options
author | makefu <github@syntax-fehler.de> | 2021-04-20 09:01:54 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-04-20 09:01:54 +0200 |
commit | 610a81d723a8a6593ccb1adf7f87eef145953771 (patch) | |
tree | 13739e02a1b73671bf6cbaad125ab4620eee63c1 /tv/5pkgs/haskell/xmonad-tv/src/Helpers | |
parent | bba59bcf1115a14d913b5dff30fe6df0bc395233 (diff) | |
parent | 6b12f7ec6ab25eb482c73d9c3e1b892b0531ff6d (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/5pkgs/haskell/xmonad-tv/src/Helpers')
-rw-r--r-- | tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs | 15 |
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"]) |