aboutsummaryrefslogtreecommitdiff
path: root/Utility/LinuxMkLibs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-10 16:19:56 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-10 16:20:30 -0400
commit5201613fc97b855bf60979ac7e2550ad08fa3798 (patch)
treeaed27d1952cd8455aecdd501cfbc5e0b43bfbb5c /Utility/LinuxMkLibs.hs
parent21b14af6904123d5c5cc1c575aee7203f65d7800 (diff)
rejigger imports for clean build with ghc 7.10's AMP changes
The explict import Prelude after import Control.Applicative is a trick to avoid a warning.
Diffstat (limited to 'Utility/LinuxMkLibs.hs')
-rw-r--r--Utility/LinuxMkLibs.hs15
1 files changed, 8 insertions, 7 deletions
diff --git a/Utility/LinuxMkLibs.hs b/Utility/LinuxMkLibs.hs
index db64d1236..fdeb77959 100644
--- a/Utility/LinuxMkLibs.hs
+++ b/Utility/LinuxMkLibs.hs
@@ -7,7 +7,12 @@
module Utility.LinuxMkLibs where
-import Control.Applicative
+import Utility.PartialPrelude
+import Utility.Directory
+import Utility.Process
+import Utility.Monad
+import Utility.Path
+
import Data.Maybe
import System.Directory
import System.FilePath
@@ -15,12 +20,8 @@ import Data.List.Utils
import System.Posix.Files
import Data.Char
import Control.Monad.IfElse
-
-import Utility.PartialPrelude
-import Utility.Directory
-import Utility.Process
-import Utility.Monad
-import Utility.Path
+import Control.Applicative
+import Prelude
{- Installs a library. If the library is a symlink to another file,
- install the file it links to, and update the symlink to be relative. -}