From e689a64f24490753c79cf9e2139117607a21938d Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Mon, 1 May 2023 00:23:32 -0700 Subject: [PATCH 1/2] ocamlPackages.postgresql: `postgresql` is a buildInput --- pkgs/development/ocaml-modules/postgresql/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/postgresql/default.nix b/pkgs/development/ocaml-modules/postgresql/default.nix index d87f6b39efb8..b27ea67eb283 100644 --- a/pkgs/development/ocaml-modules/postgresql/default.nix +++ b/pkgs/development/ocaml-modules/postgresql/default.nix @@ -17,7 +17,8 @@ buildDunePackage rec { nativeBuildInputs = [ postgresql ]; buildInputs = [ dune-configurator ]; - + propagatedBuildInputs = [ postgresql ]; + meta = { description = "Bindings to the PostgreSQL library"; license = lib.licenses.lgpl21Plus; From 4c598381e0b742608d481ae4bf88ac31f69df978 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Mon, 1 May 2023 00:44:23 -0700 Subject: [PATCH 2/2] Update default.nix --- pkgs/development/ocaml-modules/postgresql/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/postgresql/default.nix b/pkgs/development/ocaml-modules/postgresql/default.nix index b27ea67eb283..4140baa675cb 100644 --- a/pkgs/development/ocaml-modules/postgresql/default.nix +++ b/pkgs/development/ocaml-modules/postgresql/default.nix @@ -18,7 +18,7 @@ buildDunePackage rec { nativeBuildInputs = [ postgresql ]; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ postgresql ]; - + meta = { description = "Bindings to the PostgreSQL library"; license = lib.licenses.lgpl21Plus;