Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
590 B · 34 lines
Nix
1234567891011121314151617181920212223242526272829303132333435{ buildDunePackage, reason, cppo, utop, makeWrapper,}:
buildDunePackage { pname = "rtop"; inherit (reason) version src;
nativeBuildInputs = [ makeWrapper cppo ];
propagatedBuildInputs = [ reason utop ];
postInstall = '' wrapProgram $out/bin/rtop \ --prefix PATH : "${utop}/bin" \ --prefix CAML_LD_LIBRARY_PATH : "$CAML_LD_LIBRARY_PATH" \ --prefix OCAMLPATH : "$OCAMLPATH:$OCAMLFIND_DESTDIR" '';
meta = reason.meta // { description = "Toplevel (or REPL) for Reason, based on utop"; mainProgram = "rtop"; };}