diff options
author | tv <tv@krebsco.de> | 2021-03-14 23:44:08 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-03-15 01:46:50 +0100 |
commit | ec8d3e46af4b6db7a1c61b909d0aa9fa0321acfd (patch) | |
tree | 2e3a114f2d03d505a3d72693940cf334e5abbde7 /tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs | |
parent | 1f14bf6e4050d904b6d6d60e68883d33dc8f04df (diff) |
tv xmonad: replace Paths by {-pkg-}
Diffstat (limited to 'tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs')
-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 1029d60..0000000 --- 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"]) |