summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-05-17 17:57:46 -0700
committerVincent Laporte <vbgl@users.noreply.github.com>2022-05-20 10:13:29 +0200
commitba54ba93161b96a3f5a9f0072be2930bcd4dd4e8 (patch)
tree2012c5c5aac887ef0f6065fa5fa95a558de12688 /pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
parentef3bf2e60285d3f3299755c28a55918440d5c300 (diff)
downloadnixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar.gz
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar.bz2
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar.lz
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar.xz
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.tar.zst
nixpkgs-ba54ba93161b96a3f5a9f0072be2930bcd4dd4e8.zip
ocamlPackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
Diffstat (limited to 'pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix')
-rw-r--r--pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix b/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
index 012f3b61ff3..d3606330019 100644
--- a/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
+++ b/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
@@ -9,7 +9,7 @@ buildDunePackage {
   doCheck = true;
   checkInputs = [ ounit fileutils ];
 
-  meta = ocaml_gettext.meta // {
+  meta = (builtins.removeAttrs ocaml_gettext.meta  [ "mainProgram" ]) // {
     description = "Internationalization library using camomile (i18n)";
   };