summaryrefslogtreecommitdiff
path: root/server/Server.hs
diff options
context:
space:
mode:
authorstuebinm2024-10-29 01:43:01 +0100
committerstuebinm2024-10-29 01:43:01 +0100
commit31135ab11ba1133f723200003bf21d47f5a4d03e (patch)
tree59e203c2c0d0a2d7cdf3250fdbffee462f18b6e4 /server/Server.hs
parent768db4942bf40d0ca14a45f94ff406154dda5b03 (diff)
universum's microlens exports are deprecated
unfortunately, there seems to be no better way than hiding them manually, so this code will still break once they remove them.
Diffstat (limited to 'server/Server.hs')
-rw-r--r--server/Server.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/Server.hs b/server/Server.hs
index 059078b..85e6ae5 100644
--- a/server/Server.hs
+++ b/server/Server.hs
@@ -21,7 +21,7 @@ module Server ( loadConfig
, prettySha,getJobStatus,overJobStatus
, adjustedPath,RealtimeMsg(..),newRealtimeChannel,adjustedWebPath) where
-import Universum
+import Universum hiding (_2, view, (%~))
import CheckDir (DirResult)
import CheckMap (ResultKind (Shrunk))
@@ -37,7 +37,8 @@ import Data.Coerce (coerce)
import Data.Either.Extra (mapLeft)
import Data.Functor.Contravariant (contramap)
import qualified Data.Map.Strict as M
-import Lens.Micro.Platform (at, ix, makeLenses, traverseOf)
+import Lens.Micro.Platform (_2, at, ix, makeLenses,
+ traverseOf, view, (%~))
import LintConfig (ConfigKind (..), LintConfig,
feedConfig)
import Servant (FromHttpApiData)