ba54ba9316
where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`.
15 lines
327 B
Nix
15 lines
327 B
Nix
{ buildDunePackage, js_of_ocaml-compiler
|
|
, ppxlib, uchar
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "js_of_ocaml";
|
|
|
|
inherit (js_of_ocaml-compiler) version src useDune2;
|
|
|
|
buildInputs = [ ppxlib ];
|
|
|
|
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
|
|
|
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
|
}
|