gotify-server: fix build on darwin
This commit is contained in:
parent
17eed5e575
commit
306bc84748
2 changed files with 6 additions and 3 deletions
|
@ -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