diff options
author | lassulus <lassulus@lassul.us> | 2021-03-19 09:19:54 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-03-19 09:19:54 +0100 |
commit | 95ab9a7af06d56c3f02a2246b8eee8a589ed3f0c (patch) | |
tree | d6ffff9d9694f193649f08863dff06dbecb50eee /tv/5pkgs/haskell/xmonad-tv/src/Helpers | |
parent | 86b458d5d3aaac94d51b0a860376725c0a70b6fb (diff) | |
parent | f956b05cf1fbafd022fe2f0199e9524cd6efbe85 (diff) |
Merge remote-tracking branch 'ni/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"]) |