@@ -223,7 +223,12 @@ getLocalPkgs root interpretPaths = do
223223 let rootsAndExclusions = calcIntepretFinds "" interpretPaths
224224
225225 fmap fold $ for (MMap.toAscList rootsAndExclusions) $ \(interpretPathRoot, exclusions) ->
226− let allExclusions = obeliskPackageExclusions <> exclusions <> Set.singleton ("*" </> attrCacheFileName)
226+ let allExclusions = obeliskPackageExclusions
227+ <> exclusions
228+ <> Set.singleton ("*" </> attrCacheFileName)
229+ <> Set.singleton ("*" </> "lib/asset/manifest") -- NB: obelisk-asset-manifest is excluded because it generates
230+ -- a module that in turn imports it. This will cause ob run to
231+ -- fail in its current implementation.
227232 in fmap (Set.fromList . map normalise) $ runFind $
228233 ["-L", interpretPathRoot, "(", "-name", "*.cabal", "-o", "-name", Hpack.packageConfig, ")", "-a", "-type", "f"]
229234 <> concat [["-not", "-path", p </> "*"] | p <- toList allExclusions]