pgcenter: fix build on darwin
This commit is contained in:
parent
0c25c3fd13
commit
4bf3a0de2e
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pgcenter";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0kassq52v07zmffs6l066g0d3kfv6wmrh9g5cgk79bmyq13clqjj";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pgcenter.org/;
|
||||
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
|
||||
|
@ -5911,7 +5911,9 @@ in
|
||||
|
||||
pg_top = callPackage ../tools/misc/pg_top { };
|
||||
|
||||
pgcenter = callPackage ../tools/misc/pgcenter { };
|
||||
pgcenter = callPackage ../tools/misc/pgcenter {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
pgmetrics = callPackage ../tools/misc/pgmetrics { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user