shithub: MicroHs

Download patch

ref: 3521e29f7e94536ba1f6cf603e314ac64440017d
parent: 819d7edbca7182fe23befffee3d9406c9a6f5603
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Thu Aug 1 05:19:30 EDT 2024

Move around files a bit.

--- a/src/MicroHs/Main.hs
+++ b/src/MicroHs/Main.hs
@@ -48,8 +48,8 @@
    _ -> do
     let dflags = (defaultFlags dir){ pkgPath = pkgPaths }
         (flags, mdls, rargs) = decodeArgs dflags [] args
-        pkgPaths | dir == dataDir && dir /= "." = [dataDir ++ "/../.."]  -- This is a bit ugly
-                 | otherwise                    = []                     -- No package search path
+        pkgPaths | dir == dataDir && dir /= "." = [dataDir ++ "/../../.."]  -- This is a bit ugly
+                 | otherwise                    = []                        -- No package search path
     case listPkg flags of
       Just p -> mainListPkg flags p
       Nothing ->
--