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
|
{ stdenv
|
||||||
, buildGoPackage
|
, buildGoPackage
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, packr
|
, packr
|
||||||
, sqlite
|
, sqlite
|
||||||
, callPackage
|
, callPackage
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -28,7 +28,8 @@ buildGoModule rec {
|
||||||
--replace 'Version = "unknown"' 'Version = "${version}"'
|
--replace 'Version = "unknown"' 'Version = "${version}"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ sqlite ];
|
buildInputs = [ sqlite ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
nativeBuildInputs = [ packr ];
|
nativeBuildInputs = [ packr ];
|
||||||
|
|
||||||
|
|
|
@ -10405,7 +10405,9 @@ in
|
||||||
|
|
||||||
gocd-server = callPackage ../development/tools/continuous-integration/gocd-server { };
|
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 { };
|
gotty = callPackage ../servers/gotty { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue