ocaml-community / ocamlscript

Write an OCaml script, run an optimized executable
Boost Software License 1.0
74 stars 7 forks source link

Nix flake config and package for nix #18

Open saolof opened 12 months ago

saolof commented 12 months ago

Ocamlscript looks like it would be incredibly useful for a nixos user.

If ocamlscript is intended to eventually be built with dune, I could help out once that is done by adding a flake.nix to add an easy installation option (including spawning a shell that temporarily has the git master version of ocamlscript and cleans up & removes it once you are done).

UnixJunkie commented 11 months ago

look at this PR and try to unlock it https://github.com/ocaml-community/ocamlscript/pull/13

UnixJunkie commented 11 months ago

This being said, ocamlscript is a fairly complex piece of software which is not actively maintained. You might have more luck trying to use a similar tool made by Daniel Bunzli.

UnixJunkie commented 11 months ago

@dbuenzli what is the name of your ocamlscript clone?

dbuenzli commented 11 months ago

It's b0caml but I'm afraid it's not ready for general consumption.