Closed joprice closed 3 years ago
I found some docs here https://nix.dev/tutorials/building-and-running-docker-images#build-your-first-container. I'm going to try that out and see how far I get.
It seems that cross compiling ocaml in general from mac to linux is difficult, so I'll close for now until I have a method for building a normal buildDunePackage first.
Do you have any example using opam2nix to build a docker image? I tried passing
system = "x86_64-linux";
when importing nixpkgs, but I get the errorThe error makes me think I'm not even on the right track, so I wanted to see if there was some existing pattern first.