diff --git a/.nix/with-nixpkgs.nix b/.nix/with-nixpkgs.nix index ddbb92e..8226c42 100644 --- a/.nix/with-nixpkgs.nix +++ b/.nix/with-nixpkgs.nix @@ -39,6 +39,9 @@ installPhase = '' make install PREFIX=$out LIBDIR=$OCAMLFIND_DESTDIR ''; + + meta.description = + "Morbig, where all the dependencies come from `nixpkgs`."; }; }; } diff --git a/.nix/with-opam-nix.nix b/.nix/with-opam-nix.nix index f1e9d1f..b0c4efc 100644 --- a/.nix/with-opam-nix.nix +++ b/.nix/with-opam-nix.nix @@ -8,5 +8,11 @@ resolveArgs.with-doc = true; resolveArgs.with-test = true; } "morbig" ./.. { ocaml-base-compiler = "*"; }; - in { packages.with-opam-nix = scope.morbig // { inherit scope; }; }; + in { + packages.with-opam-nix = scope.morbig // { + inherit scope; + meta.description = + "Morbig, where all the dependencies are handled by `opam-nix`."; + }; + }; } diff --git a/flake.nix b/flake.nix index 32a24e4..8efeca2 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,9 @@ perSystem = { self', pkgs, config, ... }: { formatter = pkgs.nixfmt; - packages.default = self'.packages.with-nixpkgs; + packages.default = self'.packages.with-nixpkgs // { + meta.description = "Alias for `with-nixpkgs`."; + }; ## For each package, we define a corresponding devShell using its inputs ## and adding pre-commit hooks and development tools on top.