mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
ba54ba9316
where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`.
17 lines
383 B
Nix
17 lines
383 B
Nix
{ buildDunePackage, js_of_ocaml-compiler
|
|
, js_of_ocaml-ppx
|
|
, js_of_ocaml, reactivedata, tyxml
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "js_of_ocaml-tyxml";
|
|
|
|
inherit (js_of_ocaml-compiler) version src useDune2;
|
|
|
|
buildInputs = [ js_of_ocaml-ppx ];
|
|
|
|
propagatedBuildInputs = [ js_of_ocaml reactivedata tyxml ];
|
|
|
|
meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ];
|
|
}
|