Building irmin FS store on Mirage Os unikernel

I am trying to build a irmin FS store on mirage OS.

module Store = Irmin_unix.Git.FS.KV(Irmin.Contents.String)
    
      (* Database configuration *)
      let config = Irmin_git.config ~bare:true "/tmp/irmin/test" 

      (* Commit author *)
      let author = "xyz <xyz@example.com>" 

      (* Commit information *)
      let info fmt = Irmin_unix.info ~author fmt 

But I am getting the below error.

Error: No implementations provided for the following modules:
Checkseum referenced from /home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_safe),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_window),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_inflate),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_deflate),
/home/sahana/.opam/4.06.0/lib/git/git.cmxa(Git__Crc32)
Digestif referenced from /home/sahana/.opam/4.06.0/lib/git/git.cmxa(Git__Mem),
/home/sahana/.opam/4.06.0/lib/git-unix/git_unix.cmxa(Git_unix),
/home/sahana/.opam/4.06.0/lib/irmin/irmin.cmxa(Irmin__Hash)
Command exited with code 2.

Should I pass the file as a device or something. Not sure what the error means.

I posted a solution at the GitHub Irmin’s issue: https://github.com/mirage/irmin/issues/1019#issuecomment-651002844 :slight_smile:

2 Likes