ba54ba9316
where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`.
18 lines
368 B
Nix
18 lines
368 B
Nix
{ buildDunePackage, ocaml_gettext, dune-configurator, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gettext-stub";
|
|
|
|
inherit (ocaml_gettext) src version useDune2;
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ ocaml_gettext ];
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
|
}
|