Skip to content

Add MicroHS CI#39

Merged
hasufell merged 3 commits intomasterfrom
mhs-ci
Jan 22, 2026
Merged

Add MicroHS CI#39
hasufell merged 3 commits intomasterfrom
mhs-ci

Conversation

@hasufell
Copy link
Member

No description provided.

@hasufell
Copy link
Member Author

@augustss I get:

mcabal: uncaught exception: error: "../MicroCabal/src/MicroCabal/Main.hs",197:23: getPackageInfo: no package template-haskell

https://github.com/haskell/os-string/actions/runs/21199433513/job/60981949493#step:5:14

@hasufell
Copy link
Member Author

hasufell commented Jan 21, 2026

I tried make -f Makefile.packages locally, but that fails with:

mcabal -q install ghc-compat
Installing package dist-mcabal/ghc-compat-0.1.0.1.pkg in /home/hasufell/.mcabal/mhs-0.15.0.0
mcabal -q install colour
Installing package dist-mcabal/colour-2.3.6.pkg in /home/hasufell/.mcabal/mhs-0.15.0.0
mcabal -q install ansi-terminal-types
Installing package dist-mcabal/ansi-terminal-types-1.1.3.pkg in /home/hasufell/.mcabal/mhs-0.15.0.0
mcabal -q install ansi-terminal
Installing package dist-mcabal/ansi-terminal-1.1.3.pkg in /home/hasufell/.mcabal/mhs-0.15.0.0
mcabal -q install array
Installing package dist-mcabal/array-mhs-0.5.8.0.pkg in /home/hasufell/.mcabal/mhs-0.15.0.0
mcabal -q install --git=https://github.com/haskell-unordered-containers/unordered-containers.git unordered-containers

mhs: uncaught exception: error: "./Data/HashMap/Internal/Array.hs": line 88, col 8: Module not found: GHC.Exts
search path=[".","dist-mcabal/autogen"]
package path=["/home/hasufell/.mcabal/mhs-0.15.0.0","."]

mcabal: uncaught exception: error: "./lib/System/Process.hs",21:22: callCommand: failed 256, cmd=
"mhs -Punordered-containers-0.2.21 -odist-mcabal/unordered-containers-0.2.21.pkg -i -i. -idist-mcabal/autogen '-DVERSION_ghc_compat=\"0.1.0.1\"' '-DMIN_VERSION_ghc_compat(x,y,z)=((x)<0||(x)==0&&(y)<1||(x)==0&&(y)==1&&(z)<=0)' '-DVERSION_base=\"4.19.1.0\"' '-DMIN_VERSION_base(x,y,z)=((x)<4||(x)==4&&(y)<19||(x)==4&&(y)==19&&(z)<=1)' '-DVERSION_deepseq=\"1.5.0.0\"' '-DMIN_VERSION_deepseq(x,y,z)=((x)<1||(x)==1&&(y)<5||(x)==1&&(y)==5&&(z)<=0)' '-DVERSION_hashable=\"1.0.0.0\"' '-DMIN_VERSION_hashable(x,y,z)=((x)<1||(x)==1&&(y)<0||(x)==1&&(y)==0&&(z)<=0)' -a. Data.HashMap.Internal Data.HashMap.Internal.Array Data.HashMap.Internal.Debug Data.HashMap.Internal.List Data.HashMap.Internal.Strict Data.HashMap.Lazy Data.HashMap.Strict Data.HashSet Data.HashSet.Internal"
make: *** [Makefile.packages:15: all] Error 1

something in unordered-containers

@hasufell
Copy link
Member Author

Seems I already had some installed packages... deleting all those seems to make it go further.

@hasufell
Copy link
Member Author

But exceptions now fails:

mcabal -q install --git=https://github.com/ekmett/exceptions exceptions

mcabal: uncaught exception: error: "../MicroCabal/src/MicroCabal/Main.hs",366:7: dependency not installed: template-haskell-lift
make: *** [Makefile.packages:24: all] Error 1

@hasufell
Copy link
Member Author

ekmett/exceptions#108

@hasufell hasufell force-pushed the mhs-ci branch 10 times, most recently from dba7179 to b6dbb35 Compare January 21, 2026 14:20
@hasufell hasufell merged commit 03bf972 into master Jan 22, 2026
0 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant