From 2251d5cb566224f7102fcf7e77c2c2c81088a0c5 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 14 Mar 2021 23:44:08 +0100 Subject: tv xmonad: replace Paths by {-pkg-} --- tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs (limited to 'tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs') 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 1029d60b..00000000 --- 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"]) -- cgit v1.2.3