forked from mirrors/nixpkgs
gotify-server: fix build on darwin
This commit is contained in:
parent
17eed5e575
commit
306bc84748
|
@ -1,11 +1,11 @@
|
|||
{ stdenv
|
||||
, buildGoPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, packr
|
||||
, sqlite
|
||||
, callPackage
|
||||
, Security
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -28,7 +28,8 @@ buildGoModule rec {
|
|||
--replace 'Version = "unknown"' 'Version = "${version}"'
|
||||
'';
|
||||
|
||||
buildInputs = [ sqlite ];
|
||||
buildInputs = [ sqlite ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
nativeBuildInputs = [ packr ];
|
||||
|
||||
|
|
|
@ -10405,7 +10405,9 @@ in
|
|||
|
||||
gocd-server = callPackage ../development/tools/continuous-integration/gocd-server { };
|
||||
|
||||
gotify-server = callPackage ../servers/gotify { };
|
||||
gotify-server = callPackage ../servers/gotify {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
gotty = callPackage ../servers/gotty { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue