Drasil
Drasil copied to clipboard
`make analysis` implicitly relies on a `make code` run first to get the `split` package
- Why doesn't
make analysiswork on its own? It seems we need thesplitpackage implicitly, and it only works on our machines (and the CI) because we typically runmake codefirst (which pulls in thesplitpackage into the impure work cache that it pulls from).
Originally posted by @balacij in https://github.com/JacquesCarette/Drasil/issues/2993#issuecomment-1137527695
Problem: If we clone the repo locally from fresh, and run make analysis, the external Hs script will error out for a dependency. We don't often see this error at the moment because we usually have a GHC cache that contains the dependencies (here, at least, split package).
Solution (i): We could convert the 2 relevant .hs scripts into Stack scripts and have the needed packages installed as required, automatically.
Solution (ii): Force a make code run to exist before -- seems a bit heavy for nothing.