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 | 6f4ef0a0e65be0bda6dfca2514c92d2b3ff452f0 (patch) | |
| tree | 40f3d8628d10fb5e7d0fcf7d16f114d6d6011a2b /tv/5pkgs/haskell/xmonad-tv/src/Helpers/Path.hs | |
| parent | 572d1ec9a045ee8b4a0422387e2969e705e018f7 (diff) | |
| parent | 4ecf2a1db88b1862a93c99a36683bf462a3ace22 (diff) | |
Merge remote-tracking branch 'ni/master'
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"]) |
