mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
pgmetrics: fix build on darwin
This commit is contained in:
parent
4bf3a0de2e
commit
b11d54582d
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pgmetrics";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0h375zk0ik06g0b5vmi00b1wn5q2c0r137f7qf6l8k8p886x41h6";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -5915,7 +5915,9 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
pgmetrics = callPackage ../tools/misc/pgmetrics { };
|
||||
pgmetrics = callPackage ../tools/misc/pgmetrics {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
pdsh = callPackage ../tools/networking/pdsh {
|
||||
rsh = true; # enable internal rsh implementation
|
||||
|
Loading…
Reference in New Issue
Block a user