Skip to content
Snippets Groups Projects
Unverified Commit c5409088 authored by Rodrigo Mesquita's avatar Rodrigo Mesquita :seedling:
Browse files

Fix autogen mod path haskell-gi

parent 225e5632
No related branches found
No related tags found
1 merge request!25Use cabal-version 3.14
......@@ -43,7 +43,7 @@ index 7f863e8..8930a5a 100644
containers,
directory,
diff --git a/lib/Data/GI/CodeGen/CabalHooks.hs b/lib/Data/GI/CodeGen/CabalHooks.hs
index 23735c2..097c605 100644
index 23735c2..12bbb54 100644
--- a/lib/Data/GI/CodeGen/CabalHooks.hs
+++ b/lib/Data/GI/CodeGen/CabalHooks.hs
@@ -1,17 +1,31 @@
......@@ -199,7 +199,7 @@ index 23735c2..097c605 100644
+ let em' = genModulesFromInfo name moduleInfo
+
+ registerRule_ "rule1" $
+ staticRule cmd [] (NE.fromList $ map (\mn -> (sourcesDir, MN.toFilePath mn)) em')
+ staticRule cmd [] (NE.fromList $ map (\mn -> (sourcesDir, MN.toFilePath mn <> ".hs")) em')
+ }
+ }
+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment